Versatile Video Player implementation for iOS, macOS, and tvOS. VersaPlayer aims to be simple to use but also flexible, to start using VersaPlayer first create a view programatically or via storyboard. To add controls for your player use the VersaPlayerControls class, which comes packed with outlets to control your player, you can also add as many as you like by making a custom implementation. VersaPlayer also brings support for encrypted content, to make use of this functionality you must implement VersaPlayerDecryptionDelegate and assign it to VersaPlayer's decryptionDelegate property. To make use of different media tracks, such as audio, video, or captioning, use VersaPlayerMediaTracks, found in VersaPlayer class. Video tracks are most helpfull when dealing with different renditions or different streams per video quality.
Features
- Audio tracks are specially helpfull when dealing with different languages, for example for a movie playback
- Caption tracks are almost always helpfull. This can be used from a movie playback all the way to assitive content
- Caption styling are not usually managed by the user, but when necessary, captionStyling property from VersaPlayer comes in handy
- Versa is aimed to be versatile, and that's why it comes with an extensions feature, that lets you customize any aspect of the player by inheriting from VersaPlayerExtension
- VersaPlayer also brings support for encrypted content, to make use of this functionality you must implement VersaPlayerDecryptionDelegate and assign it to VersaPlayer's decryptionDelegate property
- To add controls for your player use the VersaPlayerControls class, which comes packed with outlets to control your player, you can also add as many as you like by making a custom implementation