This commit is contained in:
2024-07-19 13:33:36 +08:00
parent 77d8c67f64
commit 3c852b6ecf
2 changed files with 4 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
style="width: 100%; height: 100%"
id="video1"
class="video"
:src="videoData.m3u8Url"
:src="videoData.type==1?videoData.m3u8Url:videoData.videoUrl"
autoplay="true"
duration=""
enable-danmu="true"
@@ -23,9 +23,7 @@
@fullscreenchange="fullscreenchange"
>
<cover-view class="speed">
<text class="doubleSpeed">倍速</text>
</cover-view>
<cover-view style="position: absolute;top: 128rpx;right: 60rpx;" @click="doubleSpeed">倍速</cover-view>
<!-- <cover-view

View File

@@ -13,7 +13,6 @@
>
<view :style="`background:#000`">
<common-video-ios
v-if="$platform == 'ios' && currentVideo.type == 1"
@changeScreen="changeScreen"
@changeScreenLoading="changeScreenLoading"
ref="commonVideo"
@@ -21,7 +20,7 @@
:currentVideoList="videoArray"
>
</common-video-ios>
<common-video
<!-- <common-video
v-else
@changeScreen="changeScreen"
@changeScreenLoading="changeScreenLoading"
@@ -29,7 +28,7 @@
:currentVideo="currentVideo"
:currentVideoList="videoArray"
>
</common-video>
</common-video> -->
<!-- <view style="height: 200px" v-else></view> -->
</view>