|
@@ -5,7 +5,7 @@
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="coursewarePlay" :class="{ hideController: !isShowController }">
|
|
|
- <div class="coursewarePlayCon" @mousemove="handleMousemove" @click="handleClick">
|
|
|
+ <div class="coursewarePlayCon" @mousemove="handleMousemove" @click="handleClick" @touchstart="handleClick">
|
|
|
<videoPlay
|
|
|
v-show="fileType === 'VIDEO'"
|
|
|
ref="videoPlayDom"
|
|
@@ -300,6 +300,7 @@ function handleMousemove() {
|
|
|
showController()
|
|
|
}
|
|
|
function handleClick() {
|
|
|
+ console.log(2333)
|
|
|
fileType.value === "VIDEO" && isShowController.value && handleVideoPlay()
|
|
|
showController()
|
|
|
}
|