Caption Support
Caption Support
警告: Fire App Builder的标准支持已到结束时间。有关最新的Fire TV样本,请参阅Github上的@AmazonAppDev(仅提供英文版)。
Fire App Builder supports the same closed captions/subtitles that Exoplayer supports.The formats include TTML, WebVTT, and CEA-608.The priority of support is as follows:
- CEA-608 inband (if enabled — see the following)
- WebVTT and TTML outband
- WebVTT and TTML inband
To enable inband CEA-608 closed captions, open Navigator.json (located in app > assets).In the config
object, add "enableCEA608": true
.Here's an example:
{
"config": {
"showRelatedContent": true,
"useCategoryAsDefaultRelatedContent": true,
"searchAlgo": "basic",
"enableCEA608": true,
"enableRecentRow": true,
"enableWatchlistRow": true,
"maxNumberOfRecentItems": 5
}