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

View File

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