开发者

How to forward MPMoviePlayerController to specified time in iPhone application?

开发者 https://www.devze.com 2023-01-11 07:48 出处:网络
I am new to iPhone development, I need to play videos which are on some link and I have overlay of three labels(like \'jump to 1:20\') on t开发者_如何转开发he MPMoviePlayerViewController by tapping on

I am new to iPhone development, I need to play videos which are on some link and I have overlay of three labels(like 'jump to 1:20') on t开发者_如何转开发he MPMoviePlayerViewController by tapping on the label the movie controller is forwarded to that labeled time. I have tried two functions namely "setCurrentTime" and "initialPlaybackTime" but none of these didn't give result for me..

some help will be very helpful to me. thank you..


@property(nonatomic) NSTimeInterval currentPlaybackTime

It's part of the MPMediaPlayback protocol. http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMediaPlayback_protocol/Reference/Reference.html#//apple_ref/occ/intfp/MPMediaPlayback/currentPlaybackTime

0

精彩评论

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