video stop after few seconds while playing video from URL using MPMoviePlayerController with error in the console

ios, iphone, mpmovieplayercontroller

Solution

There is no error actually media player is downloading your video after completing the download it will show this message

Ending background task assertion (6) for playback stall

and then video will be played automatically

Problem

im using MPMoviePlayerController to play video for givin URL , some times after few seconds of playing the video stop and prit this message to the console Took background task assertion (6) for playback stall. what could be the error Thanks

Original source