Movie player has wrong activation state (1)

前端 未结 1 1909
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 00:48

Hi! I am capturing the thumbnail image of video from video url. And I am using following code to capture the thumbnail

MPMoviePlayerController *moviePlayer          


        
1条回答
  •  无人及你
    2021-01-19 00:59

    When you are initing the movie player, you already have one. There can be only one MPMoviePlayerController. You are probably doing this in a loop. You need to set your last one to nil or keep reusing the same one over and over.

    0 讨论(0)
提交回复
热议问题