diff --git a/README.md b/README.md index f22b5ef4d..3982adaec 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ Video.js Compatibility: 7.x, 8.x - [liveRangeSafeTimeDelta](#liverangesafetimedelta) - [useNetworkInformationApi](#usenetworkinformationapi) - [useDtsForTimestampOffset](#usedtsfortimestampoffset) + - [useForcedSubtitles](#useforcedsubtitles) - [captionServices](#captionservices) - [Format](#format) - [Example](#example) @@ -462,6 +463,14 @@ This option defaults to `false`. * Default: `false` * Use [Decode Timestamp](https://www.w3.org/TR/media-source/#decode-timestamp) instead of [Presentation Timestamp](https://www.w3.org/TR/media-source/#presentation-timestamp) for [timestampOffset](https://www.w3.org/TR/media-source/#dom-sourcebuffer-timestampoffset) calculation. This option was introduced to align with DTS-based browsers. This option affects only transmuxed data (eg: transport stream). For more info please check the following [issue](https://github.com/videojs/http-streaming/issues/1247). +##### useForcedSubtitles +* Type: `boolean` +* Default: `false` +* can be used as a source option +* can be used as an initialization option + +If true, this option allows the player to display forced subtitles. When available, forced subtitles allow to translate foreign language dialogues or images containing foreign language characters. + ##### captionServices * Type: `object` * Default: undefined diff --git a/docs/supported-features.md b/docs/supported-features.md index 887c333f5..cb96207a5 100644 --- a/docs/supported-features.md +++ b/docs/supported-features.md @@ -64,6 +64,7 @@ not meant serve as an exhaustive list. * In-manifest [WebVTT] subtitles are automatically translated into standard HTML5 subtitle tracks * [AES-128] segment encryption +* DASH In-manifest EventStream and Event tags are automatically translated into HTML5 metadata cues ## Notable Missing Features diff --git a/index.html b/index.html index 3849c4023..04eae9142 100644 --- a/index.html +++ b/index.html @@ -171,6 +171,11 @@ +