Get Updates By E-mail 

Article Written By:
Johann Dowa

MPMoviePlayerController Add-On Category That Makes It Easy To Show Subtitles

  •  
  •  
  •  
  •  
  •  

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:
MpMoviePlayerController-Subtitles

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments