This sample is a collection of projects showing how to play an audio visual item in a loop using AVFoundation's AVQueuePlayer and/or AVPlayerLooper.
LoopPlayer is a simple OS X command line tool which takes as input a media file and then creates AVQueuePlayer to play the media in a loop.
VideoLooper is an iOS app which demonstrates looping playback of visual media file with AVQueuePlayer and AVPlayerLooper.
Xcode 8.0 or later LoopPlayer requires OS X 10.9 SDK or later VideoLooper requires iOS 10.0 SDK or later
LoopPlayer requires OS X 10.9 or later VideoLooper requires iOS 10.0 or later
Copyright (C) 2016 Apple Inc. All rights reserved.