修改视频播放地址

master
于肖磊 2026-02-13 17:46:18 +08:00
parent b59620cc92
commit fd8d1b3b34
1 changed files with 3 additions and 3 deletions

View File

@ -536,7 +536,7 @@
setTimeout(() => {
// //
this.update_share_info(this.display_video_list[0]);
this.display_video_list.forEach((item, index) => {
this.create_video_contexts[index] = uni.createVideoContext(`video_${index}`, this);
//#ifdef H5
@ -546,12 +546,12 @@
setTimeout(() => {
//#ifdef H5
if (this.video_contexts[0]) { // 0
if (this.video_contexts[this.current_index]) { // 0
this.video_play_event(this.video_contexts[this.current_index], true);
}
//#endif
//#ifndef H5
if (this.create_video_contexts[0]) { // 0
if (this.create_video_contexts[this.current_index]) { // 0
this.video_play_event(this.create_video_contexts[this.current_index], true);
}
//#endif