This commit is contained in:
duanxiaohai 2024-08-25 15:20:49 +08:00
commit d40aa801c7
3 changed files with 7 additions and 5 deletions

View File

@ -114,7 +114,9 @@ watch(
insertVideo(); insertVideo();
} }
nextTick(() => { nextTick(() => {
setTimeout(() => {
loadVideo(); loadVideo();
}, 1000);
}); });
} }
} }
@ -137,7 +139,7 @@ const dp = ref(null);
const videohtml = ref(""); const videohtml = ref("");
const attachmentLink = ref(""); const attachmentLink = ref("");
const options = { const options = {
playbackRates: [0.5, 1.0, 1.5, 2.0], playbackRates: [1.0],
aspectRatio: "10:5", aspectRatio: "10:5",
notSupportedMessage: "此视频暂无法播放,请稍后再试", notSupportedMessage: "此视频暂无法播放,请稍后再试",
autoplay: false, autoplay: false,

View File

@ -126,7 +126,7 @@ watch(
nextTick(() => { nextTick(() => {
setTimeout(() => { setTimeout(() => {
loadVideo(); loadVideo();
}, 2000); }, 1000);
}); });
} }
} }
@ -149,7 +149,7 @@ const dp = ref(null);
const videohtml = ref(""); const videohtml = ref("");
const attachmentLink = ref(""); const attachmentLink = ref("");
const options = { const options = {
playbackRates: [0.5, 1.0, 1.5, 2.0], playbackRates: [1.0],
aspectRatio: "10:5", aspectRatio: "10:5",
notSupportedMessage: "此视频暂无法播放,请稍后再试", notSupportedMessage: "此视频暂无法播放,请稍后再试",
autoplay: false, autoplay: false,