不以全屏模式播放视频
首先,请原谅我的英语:)
我在苹果开发者网站上读到,框架提供的视频播放仅支持全屏模式。
我需要开发一个可以在缩小屏幕模式下播放视频的应用程序。 我看到 Orange TV 制作了一些看起来像我需要做的东西。
http://img218.imageshack.us/img218/1228/tvplayerorange.jpg http://img218.imageshack.us/img218/1228/tvplayerorange.jpg http://img218.imageshack.us/img218/1228/tvplayerorange.jpg http:/ /img218.imageshack.us/img218/1228/tvplayerorange.jpg
该应用程序可在应用程序商店中找到,但您需要订阅才能测试该应用程序。 不管怎样,要恢复它,我们可以在缩小模式下观看视频(电视流视频),如果我们单击屏幕,它会切换到全屏模式。
所以我的问题是,我想做的事情是可能的(橙色电视做到了),但我想知道实现它的难度。 看来我得做一个视频播放器了。 如果需要大量时间,我想我会使用 iPhone 的媒体播放器框架,即使这对我来说不是最佳解决方案。
请随时询问我更多详细信息;)
谢谢您的回答。
First, excuse my english :)
I've read on apple developer website that video playback provides by the framework supports only full screen mode.
I will need to develop an application where video can be played in reduce screen mode. I've see that Orange TV make something which looks like what i need to do.
http://img218.imageshack.us/img218/1228/tvplayerorange.jpg
http://img218.imageshack.us/img218/1228/tvplayerorange.jpg http://img218.imageshack.us/img218/1228/tvplayerorange.jpg
The application is available on app store but you need to have a subscription to test this application. Whatever, to resume it, we can see video (tv stream video) in a reduce mode and if we click on the screen it switch to a full screen mode.
So my question, what i want to do is possible (Orange TV made it) but i wonder the difficulty to make it. It seems that I have to make a video player. If it take a bunch of time, I tkink I will use Media Player Framework of iPhone even isn't the optimal solution for me.
Feel free to ask me more details ;)
Thank you for your answers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 MPMoviePlayerController 类转储此处,您可以看到这些公共成员
:有机会以窗口模式播放电影。 然而,这些成员并未正式上线,并且可能会有意想不到的行为。 这只是一个提示,我自己还没有做过。 请注意,使用未记录的 API 可能会导致 Apple 从 AppStore 拒绝您的应用程序。
Looking at the MPMoviePlayerController class dump here, you can see these public members:
So there is a tiny chance to show a movie in windowed mode. However, these members are not officialy available and may have unexpected behaviour. This is just a hint, I haven't done it myself. Beware that using undocumented APIs may make Apple reject your application from the AppStore.
无法使用内置媒体框架来显示窗口视频。 您必须将另一个编解码器和流媒体库移植到 iPhone 才能实现此目的。
It is not possible to use the built in media framework to display windowed video. You would have to port another codec and streaming library to iPhone to achieve this.