I am making some modifications to an iPad app written by somebody else and one of the things I need to fix is that the video needs to continue to show the last frame when playback is complete rather than the screen just going black.
On the iPad simulator using iOS 4.3, this is exactly what it does already, but it just goes black on iOS 5 (on both the simulator and a device).
Any suggestions on the best way to achieve this so that it works for iOS 5? The code is using AVQueuePlayer
.
I eventually found the solution:
[player setActionAtItemEnd:AVPlayerActionAtItemEndPause];
I'd already tried this and discarded it as not working, but I think I made the mistake of not setting it via the setter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With