Classes
The following classes are available globally.
-
Custom NSError subclass with shortcut methods for creating the common VideoPlayer errors
See moreDeclaration
Objective-C
@interface VideoPlayerError : NSError
Swift
class VideoPlayerError : NSError
-
A UIView sub-class encapsulating a native video player instance (AVPlayer)
See moreDeclaration
Objective-C
@interface VideoPlayerView : UIView
Swift
class VideoPlayerView
-
The VideoPlayerViewController is a UIViewController sub-class that embeds an AVPlayer object within a provided UIView. It primes the AVPlayer with a video asset to play. It also allows the offset of the audio and video tracks to be adjusted with regards to the asset’s timeline.
This class also contains the heuristics to allow the video player to catch-up to a specified position using a strategy that minimises user experience disruption (e.g. by speeding up the play speed or doing a seek).
See moreDeclaration
Objective-C
@interface VideoPlayerViewController : UIViewController
Swift
class VideoPlayerViewController