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

视频比例不同时的问题 #49

Closed
techistoner opened this issue May 29, 2022 · 4 comments
Closed

视频比例不同时的问题 #49

techistoner opened this issue May 29, 2022 · 4 comments

Comments

@techistoner
Copy link

https://user-images.githubusercontent.com/5417557/170851432-ae4f0030-d24c-44eb-8f7d-cf871bf1864b.mp4
视频比例不同时
在预加载中 如果上一个视频是4:3 下一个是16:9
会出现 16:9的视频 加载时 还是4:3的播放器比例 并且会有短暂黑屏获取不到视频缩略图
直接跑源码也存在一样的问题。

@mjl0602
Copy link
Owner

mjl0602 commented May 29, 2022

VideoPlayer改来改去特性老是变,得看下他内部是怎么回事。

@techistoner
Copy link
Author

image
应该是这样里的问题 原来设定了16比9的 然后碰到一些4:3的视频 就要之后才去拿player.value.aspectRatio视频的aspectRatio去赋值 提前给外层控件赋值的 话 应该就没问题了。

@mjl0602
Copy link
Owner

mjl0602 commented May 31, 2022

以前可以在屏幕外完成加载,现在不行了。

@mjl0602
Copy link
Owner

mjl0602 commented Aug 18, 2022

恢复了预加载功能,不是问题了。

@mjl0602 mjl0602 closed this as completed Aug 18, 2022
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

2 participants