问题
Is there any way to show subtitules on a movie loaded by MPMoviePlayerViewController by default?? The movie has subs embed in the video.
Thank you!
回答1:
Unfortunately this feature is missing in the MPMoviePlayer
playback classes. This is obviously rather annoying, and you should consider filing a feature request with Apple. You can use the AVPlayer
class instead, which as a .closedCaptionDisplayEnabled
property: the downside is it's somewhat more complicated to use and only available on iOS 4.0+.
来源:https://stackoverflow.com/questions/5662635/show-subtitles-in-a-mpmovieplayerviewcontroller-by-default