|
@@ -50,10 +50,23 @@
|
|
|
<button class="bofang-button" @click="onVideoCanPlayThrough">
|
|
|
<img v-if="isNeedToBofang" :src="bofangImg" alt="" draggable="false">
|
|
|
</button>
|
|
|
- <video ref="video$" muted autoplay :poster="videoPostImg" class="initial-video" playsinline="true"
|
|
|
- x5-playsinline="true" @playing="isNeedToBofang = false" webkit-playsinline="true"
|
|
|
- :src="`${config.cdnDir}videos/video.mp4`" @ended="isLongImageVideo = false" @mousedown.passive.stop
|
|
|
- @touchstart.passive.stop @canplaythrough="onVideoCanPlayThrough" @wheel.passive.stop />
|
|
|
+ <video
|
|
|
+ ref="video$"
|
|
|
+ muted
|
|
|
+ autoplay
|
|
|
+ :poster="videoPostImg"
|
|
|
+ class="initial-video"
|
|
|
+ playsinline="true"
|
|
|
+ x5-playsinline="true"
|
|
|
+ webkit-playsinline="true"
|
|
|
+ :src="`${config.cdnDir}videos/video.mp4`"
|
|
|
+ @playing="isNeedToBofang = false"
|
|
|
+ @ended="isLongImageVideo = false"
|
|
|
+ @mousedown.passive.stop
|
|
|
+ @touchstart.passive.stop
|
|
|
+ @canplaythrough="onVideoCanPlayThrough"
|
|
|
+ @wheel.passive.stop
|
|
|
+ />
|
|
|
</div>
|
|
|
</Transition>
|
|
|
|