简体   繁体   English

iPhone SDK 4.0上的MPMediaPlayerController

[英]MPMediaPlayerController on iPhone SDK 4.0

How do we play a video using MPMoviePlayerController in sdk 4.0. 我们如何在sdk 4.0中使用MPMoviePlayerController播放视频。 Like 3.1 and higher, the play does not seem to work. 与3.1及更高版本一样,该播放似乎无效。 Or it seems to me. 或者在我看来。 Any suggestions? 有什么建议么?

Oh I haven't signed any NDA as I haven't paid 99USD for it. 哦,我还没有签署任何保密协议,因为我没有为此支付99美元。

So First of MPMoviePlayerController use to play Music in the foreground by launching Quicktime player, now what it does is you have to pass it on the URI and it will play the same in the background, as why its not loading up I don't know because I haven't tested it. 因此,首先,MPMoviePlayerController通过启动Quicktime播放器来在前台播放音乐,现在要做的是您必须将其传递给URI,并且它将在后台播放,因为为什么它没有加载我不知道因为我还没有测试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM