|
@@ -11,11 +11,7 @@
|
|
|
@mouseout="videoOut"
|
|
|
></video>
|
|
|
<div :class="['qxd', qxdShow ? 'qxdshow' : 'qxdhide']">清晰度</div> -->
|
|
|
- <div
|
|
|
- :id="'videoPlayer' + indexStr"
|
|
|
- @mousemove="viedeoMove"
|
|
|
- @click="videoClick"
|
|
|
- ></div>
|
|
|
+ <div :id="'videoPlayer' + indexStr" @mousemove="viedeoMove"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -44,9 +40,12 @@ export default {
|
|
|
player: {
|
|
|
handler: function () {
|
|
|
//do something
|
|
|
- if (this.player._hasStart) {
|
|
|
- //this.zantingAudio()
|
|
|
- }
|
|
|
+ // if (this.player._hasStart) {
|
|
|
+ //this.zantingAudio()
|
|
|
+ // }
|
|
|
+ this.player.once("play", () => {
|
|
|
+ this.zantingAudio();
|
|
|
+ });
|
|
|
},
|
|
|
deep: true,
|
|
|
},
|