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

fix video full screen when set url #205



Copy link

umbrellaPP commented Nov 14, 2019


  • 修复原生 videoPlayer 更换 url 之后,会自动切全屏的问题

原因是之前有 forceUpdate 的关系,每帧都在 updateMatrix, 所以之前没有这个问题
现在原生的实现是,每次调 video.setUrl 都会默认转全屏,需要再 forceUpdate 一次

@holycanvas holycanvas merged commit 542860b into cocos-creator-packages:v2.2.1-release Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.