我使用vitamio lib製作視頻播放器。但是,我無法找到出路來顯示嵌入字幕。我在互聯網上徹底搜索,但沒有示例代碼。這裏是我的代碼: public void onCreate(Bundle icicle) {
super.onCreate(icicle);
if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this))
我使用vitamio在列表中播放音樂,當我切換到另一首歌曲時,我打電話給Mediaplayer.reset(),但在播放下一首歌曲之前存在噪音。 這樣的代碼: mPlayer.reset(); //noise playing for a second
try {
mPlayer.setDataSource(station.getUrl());
mPlayer.prepareAsync();