自定义 iPhone 中 Movieplayer 的屏幕
我对电影播放器应用程序没有什么疑问
如何自定义屏幕尺寸。我只想将视频或电影播放到屏幕的一半,并且我想向电影播放器的剩余一半添加自定义控制按钮。
在电影播放器示例中,存在覆盖视图,但如何更改其中的按钮和标签的名称,但我无法做到这一点。
在电影播放器示例中,存在
I've few doubts regarding movie player app
How can I customize the screen size. I want only video or movie to be played only to half the screen and I want to add custom controls buttons to the remaining half of movie player.
In movie player example overlay view is there but how to change the name of the button and label in that and I'm unable to do that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
无法修改
MPMovePlayer
UI。它播放全屏视频,并提供默认控件。目前官方 iPhone SDK 无法满足您的需求。The
MPMovePlayer
UI cannot be modified. It plays fullscreen video, and provides the default controls. There's currently no way to do what you need in the official iPhone SDK.使用此链接进行视频播放器自定义:
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007798
下载示例代码并进行相应修改。
Use this link for video player customization:
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007798
download sample code and modify accordingly.