0
私はExoPlayerをURLから再生しています。ExoPlayer:字幕を表示
[
{
"id": 1,
"startTime": "00:00:00",
"endTime": "00:00:05",
"textEn": "towns, in late 15th-century England.",
"textRu": null
},
{
"id": 2,
"startTime": "00:00:05",
"endTime": "00:00:10",
"textEn": "the first thing to note is that in stark contrast to today, England was an overwhelmingly rural country.",
"textRu": null
}
]
私はExoPlayerを使用して再生しながら字幕を表示する方法がある知っている:私はこのようになり、XML形式の字幕を持っています。しかし、私は開発者のガイド:ExoPlayer Developer's guideのすべてをスキャンしましたが、ドキュメントが実際には貧弱であるため、方法を見つけられませんでした。 また、字幕のXML形式はExoPlayerに適していますか?今の場合、どのように変換する必要がありますか? ExoPlayerの忍者は助けてください)