문제

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 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];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top