开发者

MPMoviePlayerController creating a custom buffer progress bar for streaming movies

I am streaming a movie to MPMoviePlayerController by开发者_StackOverflow simply passing MPMoviePlayerController the URL of the movie file. I am using my own custom controls and would like to create a progress bar to see how much of the video has been buffered (like in YouTube) . But there doesn't seem to be any available data to create this. Does anyone know how to do this. Thanks.


Prior to iOS 5.x the playableDuration did the job. But since iOS 5 this property seem to always return zero. Give it a try and please let me know if it does work for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜