MPMoviePlayerController播放过程中自动暂停的问题

在使用系统播放器MPMoviePlayerController的过程中,会出现播放器自动暂停的情况,有两种解决办法:

 (1)在播放开始的时候,设置useApplicationAudioSession = NO;

  (2)  重启手机,也可以恢复

 

参考网址:

http://stackoverflow.com/questions/3000969/ipad-mpmovieplayercontroller-video-loads-but-automatically-pauses-when-played

http://stackoverflow.com/questions/5237235/mediaplayer-wont-play-video/5238410#5238410

http://stackoverflow.com/questions/25840423/ios-movie-player-unknown-load-state-after-playing-a-video-once-mpmovieplayercont

http://stackoverflow.com/questions/12041260/an-avplayeritem-cannot-be-associated-with-more-than-one-instance-of-avplayer

 

posted @ 2016-04-18 16:34  elsonpeng  阅读(551)  评论(0编辑  收藏  举报