开发者

How to resume playing after i sliding the indicator of the slider in my custom moviePlayer?

In my custom movie player ,i use [player setInitialPlaybackTime:playSlider.value]; to make the movie resume playing at the time i slide to,but it has this situation: the indicator returns to the start of the movie,then go to the time playSlider.value .At the same time, the view of movie get to the starting view of movie then resume the view at the time of playSlider.value, playback after buffering from the starting to the right time i slide to finally. Actually,i do not like this situation,i'd like to let the indicator go to where i 开发者_C百科slide to directly,so does the view,and continue playback after buffering. Is there any idea ? thank you in advance.


I've solved it.It needed

[player setInitialPlaybackTime:playSlider.value];
    [player stop];
    [player play];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜