0

如何停止播放视频并返回开始?

videoPlayer.currentPlaybackTime = 0.0 ; // This doesnt work as expected. 


[videoPlayer stop]  // Shows just a "blank" page

谢谢,

4

3 回答 3

4

这也有效

videoPlayer.currentPlaybackTime = 0;
[videoPlayer pause];
于 2012-06-15T06:36:42.843 回答
1

做这个:

   if(videoPlayer)
   {
      [videoPlayer stop];
      myMoviePlayer.initialPlaybackTime = 0.0;
      [videoPlayer play];
   }
于 2012-06-15T06:35:19.130 回答
1
videoPlayer.currentTime = 0;
[videoPlayer stop];
于 2012-06-15T06:43:06.243 回答