MPMoviePlayerController breaks/stops after going to fullscreen in iOS6

后端 未结 11 1052
南方客
南方客 2020-12-24 07:10

I have a MPMoviewPlayerViewController embedded into an UIView object. When I start the player in the embedded mode everything works fine and as exp

11条回答
  •  一个人的身影
    2020-12-24 07:34

    My WORKING solution:

    I had the same issue, when I try to play video it stops immediately after a second with logs:

    [MPCloudAssetDownloadController] Prioritization requested for media item ID: 0
    [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 0, on player: 1)
    

    I solved it putting stop command just before play command:

    [playerController stop];
    [playerController play];
    

    Now it works perfect!

提交回复
热议问题