Top "Avplayer" questions

An AVPlayer object is used to implement controllers and user interfaces for single- or multiple-item playback.

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
Accessing URL from AVPlayer object?

Is there a way to access the URL from an AVPlayer object that has been initialized with a URL, as …

ios avplayer
AVPlayer streaming progress

I'm successfully using AVPlayer to stream audio from a server and what I want to do now is to show …

iphone ios avplayer
AVPlayer continues to play after ViewController is removed from NavigationController

So I'm using ARC in my project and when I add an AVPlayerLayer it works just fine and dandy, but …

ios cocoa-touch automatic-ref-counting avplayer
Audio playback progress as UISlider in Swift

I've seen some posts about accomplishing this in Objective-C but I've been unable to do the same via Swift. Specifically, …

ios swift avfoundation avplayer
How can I check if my AVPlayer is buffering?

I want to detect if my AVPlayer is buffering for the current location, so that I can show a loader …

ios avplayer buffering
Xcode - Objective C - AVPlayer programmatically - play local video, with standard/system skin

Can anyone help me with code for setting up and playing local videofile, using AVPlayer in Xcode? (using AVPlayerLayer, and …

ios objective-c avplayer avplayerlayer
Seek to a certain position in AVPlayer right after the asset was loaded

This works: I have an AVPlayer which plays a video right after it was loaded. And this works fine. This …

objective-c ios cocoa-touch video avplayer
objectiveC/CMTime - convert AVPlayer.duration to milliseconds

I'm creating an app for playing a ringtone and I'd want to know the current time in milliseconds of the …

iphone avfoundation avplayer cmtime
AVFoundation (AVPlayer) supported formats? No .vob or .mpg containers?

Using AVPlayer in a Mac app here to play random videos in fullscreen from a folder, but when I try …

macos video avfoundation avplayer