|
@@ -3,6 +3,7 @@
|
|
|
<div :id="videoData.id" :ref="videoData.id"></div>
|
|
<div :id="videoData.id" :ref="videoData.id"></div>
|
|
|
<p class="full-screen-button" v-if="!videoProps.fullShow" @click="fullScreen"></p>
|
|
<p class="full-screen-button" v-if="!videoProps.fullShow" @click="fullScreen"></p>
|
|
|
<!--<p class="full-failed-button" v-if="fullScreenType" @click="outFullScreen"></p>-->
|
|
<!--<p class="full-failed-button" v-if="fullScreenType" @click="outFullScreen"></p>-->
|
|
|
|
|
+ <p style="position: absolute;top:200px;left:360px;color:#fff;" v-if="!playType">加载中...</p>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -14,6 +15,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ playType:true,
|
|
|
fullScreenType:false,
|
|
fullScreenType:false,
|
|
|
videoCover: localStorage.getItem('fileBrowseEnvironment') + localStorage.getItem('videoCover'),
|
|
videoCover: localStorage.getItem('fileBrowseEnvironment') + localStorage.getItem('videoCover'),
|
|
|
videoData: {},
|
|
videoData: {},
|
|
@@ -135,11 +137,13 @@
|
|
|
index //当前窗口下标
|
|
index //当前窗口下标
|
|
|
).then(
|
|
).then(
|
|
|
() => {
|
|
() => {
|
|
|
|
|
+ this.$set(this,'playType',true);
|
|
|
console.info('JS_Play success')
|
|
console.info('JS_Play success')
|
|
|
// do you want...
|
|
// do you want...
|
|
|
},
|
|
},
|
|
|
(err) => {
|
|
(err) => {
|
|
|
- console.info('JS_Play failed:', err)
|
|
|
|
|
|
|
+ this.$set(this,'playType',false);
|
|
|
|
|
+ console.info('JS_Play failed:1212121212', err)
|
|
|
// do you want...
|
|
// do you want...
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|