如何停止播放视频并返回开始?
videoPlayer.currentPlaybackTime = 0.0 ; // This doesnt work as expected.
[videoPlayer stop] // Shows just a "blank" page
谢谢,
如何停止播放视频并返回开始?
videoPlayer.currentPlaybackTime = 0.0 ; // This doesnt work as expected.
[videoPlayer stop] // Shows just a "blank" page
谢谢,
这也有效
videoPlayer.currentPlaybackTime = 0;
[videoPlayer pause];
做这个:
if(videoPlayer)
{
[videoPlayer stop];
myMoviePlayer.initialPlaybackTime = 0.0;
[videoPlayer play];
}
videoPlayer.currentTime = 0;
[videoPlayer stop];