难道Android的MediaPlayer的支持SRT字幕?我试图将SRT文件在同一目录中的视频文件并将其命名一样(除了病程的延长),但还没有任何运气让他们显示。任何想法,建议?
Does Android's MediaPlayer support SRT subtitles? I've attempted to place the SRT file in the same directory as the video file and name it the same (with the exception of the extension of course), but haven't had any luck getting them to display. Any thoughts, recommendations?
的Android 4.0.x的版本及以下
在案件的Android 4.0版本及以下,默认媒体播放器不支持字幕。
In case of Android 4.0 version and below, default Media Player did not support subtitles.
有支持字幕提供第三方播放器应用程序在谷歌播放。其中之一是MoboPlayer
There are third party player apps available in Google Play which support subtitles. One of them is MoboPlayer
如果您打算做用code时,下面的链接是一个很好的资源http://www.ittiam.com/IttiamAdmin/Downloads/RenderingSubtitlesinAndroid201192914525892.pdf
If you are planning to do it using code, the following link is a good resource http://www.ittiam.com/IttiamAdmin/Downloads/RenderingSubtitlesinAndroid201192914525892.pdf
的Android 4.1(果冻豆 - JB))
Android的JB版中内置了内部(在MP4文件present)和SRT外挂字幕。更多详细信息,请访问http://developer.android.com/about/versions/android-4.1.html#Multimedia
Android JB version has built in support for internal (present in MP4 files) and SRT external subtitles. More details is available at http://developer.android.com/about/versions/android-4.1.html#Multimedia
上一篇:等待3秒或用户点击用户
下一篇:stringByEvaluatingJavascriptFromString(iOS的方法,什么是Android的相同呢?)方法、stringByEvaluatingJavascriptFromStr