Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

相邻的两个视频播放会导致黑屏 #220

Open
GHMike opened this issue Mar 15, 2022 · 8 comments
Open

相邻的两个视频播放会导致黑屏 #220

GHMike opened this issue Mar 15, 2022 · 8 comments

Comments

@GHMike
Copy link

GHMike commented Mar 15, 2022

version:1.9.1

question:如果轮播相邻的两个都放的是视频的话,第一个视频会黑屏,但是播放的是第二个视频的声音

@zhanghangyes
Copy link

解决了吗现在?

@GHMike
Copy link
Author

GHMike commented Mar 27, 2022

还没,根据需求我自己写了一个,刚需性写了一个

@673195872
Copy link

意思不能用这个框架吗 我也遇到了 轮播连续视频出现黑屏

@Pgrammerybj
Copy link

@GHMike 咋解决的,分享一下呗,我们也有多视频轮播的效果

@GHMike
Copy link
Author

GHMike commented Sep 21, 2022

我自己简单写了一个,思路就是在页面里面写一个图片控件和视频控件,在最上层再覆盖一张图片控件,然后循环播放图片或视频,也就是在同一个图片或视频更新url,显示的就给VISIBLE,不显示了就给GONE,需要的还可以加上动画,覆盖的图片是用于显示视频第一帧图的。没有单独抽离出来,所以也没放上来。

@673195872
Copy link

@GHMike 那viewpage预加载 怎么处理视频这块 播放到当前的时候 后面的视频不是还是会播放嘛

@lpointer
Copy link

@673195872 你好,这个方案有解决了吗,我目前也遇到这样问题

@GHMike 那viewpage预加载 怎么处理视频这块 播放到当前的时候 后面的视频不是还是会播放嘛

@GHMike
Copy link
Author

GHMike commented Mar 28, 2023

@673195872 同一个播放器更新了url还能播放之前url的视频?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants