Top "Avplayeritem" questions

AVPlayer was deallocated while key value observers were still registered with it

I am creating a simple media player app. My App is crashed when first link is played and I clicked …

ios objective-c avplayer avplayeritem
Add custom controls to AVPlayer in swift

I am trying to create a table view such that I am able to play videos . I am able to …

ios swift swift3 avplayer avplayeritem
How to close previous AVPlayer and AVPlayerItem

I'm making an iOS app in Swift that plays a video in a loop in a small layer in the …

ios swift avplayer avplayeritem
Stop AVPlayer and restart MP3 file again

I want to start, pause and stop (same as restart) my mp3 File and I'm using AVPlayer. I get the …

ios objective-c avplayer avplayeritem
iOS 10 - AVPlayer shows black screen when playing video

Here I have a method that adds the video layer to the UIView that I have setup in IB: -(…

ios objective-c video avfoundation avplayeritem
AVPlayer fails with AVPlayerItemStatusFailed (OSStatus error -12983)

Sometimes AVPlayer fails with AVPlayerItemStatusFailed and after that failure occurred, AVPlayer continues to failed with AVPlayerItemStatusFailed. I tried to clear …

ios avfoundation avplayer avplayerlayer avplayeritem
AVPlayer too long and with delay to readyToPlay and play server music in swift

I tried to buffer and immediately play remote url audio with swift language. but problem is with long time to …

ios swift avplayer avplayeritem
AVPlayer stalling on large video files using resource loader delegate

I am using this approach to save the buffer data of the AVPlayer for video files. Found as the answer …

ios avplayer avplayeritem