Commit c614d45d4224fe46c21158ab7c129be47aebeeec
1 parent
b86a32ff
判断在ios内播放
Showing
1 changed file
with
2 additions
and
2 deletions
src/pages/index/index.vue
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | <!--视频--> |
| 14 | 14 | <div> |
| 15 | 15 | <div class="video_box"> |
| 16 | - <video-player class="video-player vjs-custom-skin" @play="onPlayerPlay($event)" | |
| 16 | + <video-player class="video-player vjs-custom-skin"" | |
| 17 | 17 | ref="videoPlayer" |
| 18 | 18 | :playsinline="playsinline" |
| 19 | 19 | :options="playerOptions" |
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | <!--视频--> |
| 42 | 42 | <div> |
| 43 | 43 | <div class="video_box"> |
| 44 | - <video-player class="video-player vjs-custom-skin" @play="onPlayerPlay($event)" | |
| 44 | + <video-player class="video-player vjs-custom-skin" @play="onPlayerPlay($event)"> | |
| 45 | 45 | ref="videoPlayer" |
| 46 | 46 | :playsinline="playsinline" |
| 47 | 47 | :options="playerOptions" | ... | ... |