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

use AVPlayerController instead #1831

Merged
merged 1 commit into from Sep 5, 2019
Merged

Conversation

@minggo
Copy link
Contributor

@minggo minggo commented Sep 5, 2019

MPMoviePlayerController 在 iOS 13 被删除了,使用 AVPlayerContoller 替换。主要的不兼容性就是不支持全屏 API 了,不过用户可以通过屏幕的控制条来实现全屏和非全屏操作,所以也没什么关系。@knox 我觉得测试例子的全屏 API 的测试是否可以去掉?在 Android 和 iOS 应该都能够通过控制条来实现全屏吧?

@minggo minggo requested a review from knoxHuang Sep 5, 2019
@knoxHuang
Copy link
Contributor

@knoxHuang knoxHuang commented Sep 5, 2019

可以根据平台来开启范例中的全屏按钮

@minggo minggo merged commit babebaf into cocos-creator:v2.1.3 Sep 5, 2019
1 check passed
@minggo minggo deleted the videoplayer-ios branch Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants