I’ve mentioned a number of open source projects to aid in playing in-app movies most recently ALMoviePlayerController which allows you to change your movie player style, adjust the seek rate and more. One of the more common issues that arises when using the iOS SDK’s MPMoviePlayerController is that of how to play subtitles.
Here’s a category called MPMoviePlayerController-Subtitles from Marc Hervera that simplifies the display of SRT based subtitles in your MPMoviePlayer.
MPMoviePlayerController-Subtitles adds helper methods for easy loading and display of your subtitles, and automatically displays scales, synchronizes, and rotates your subtitles from an SRT file..
Here’s an image from the readme showing the category in action:
You can find MPMoviePlayerController-Subtitles on Github here.
A nice easy to use solution if you’re looking to add subtitles to a movie player.
- Nice Simple NSObject Category Allowing Easy Serialization/Deserialization From XML or JSON
- iOS Library Making It Easy To Create Path Style Walkthroughs For New Users Of Your App
- Tutorial: Creating An Evernote Style Button Activated Keyboard
- Open Source: Category For Easy Embedding Of PDF Images In iOS Apps For Scalable Images
- NSDate Category Makes Using It Bearable
Original article: MPMoviePlayerController Add-On Category That Makes It Easy To Show Subtitles
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.