Description
* Required only when you have activated subtitles in the interface.
Node for specifying the URL to the closed caption/subtitle file. All available closed captions files should be provided in the feed as multiple closedCaptionUrl
elements–one caption file per language.
HLS manifest subtitles for video on demand
If this feed element is present, then only subtitles from the feed are ingested and subtitles specified in the HLS manifest are ignored. HLS manifest subtitles are only ingested if no subtitle feed elements are present.
The formats supported are TTML/DXFP (application/ttaf+xml
) and WebVTT (text/vtt
).
"language"
attribute: required (cannot be empty), and should be set to the language of the caption file. It must be compliant with RFC5646, and cannot contain the string "$$$$$"
. This attribute is used similar to the xml:lang
attribute detailed in the XML.
"name"
attribute: cannot contain the string "$$$$$"
.
"type"
attribute: should be set to the MIME type of the caption files.
"characteristics"
attribute: should be set to one of the following (or can be empty):**
"public.accessibility.transcribes-spoken-dialog"
"public.accessibility.describes-music-and-sound"
"public.easy-to-read"
** A warning is shown if "characteristics"
is not set to the above, but will still work.
For a single content source, the language
and name
combination should be unique for each closed caption file. For example, [language="en", name="English"
] and [language="en", name="English (CC)"
].
Examples:
<dfpvideo:closedCaptionUrl language="en" name="English" type="text/vtt">http://cdn.com/subtitle.vtt</dfpvideo:closedCaptionUrl>
<dfpvideo:closedCaptionUrl language="en" name="English (CC)" characteristics="public.accessibility.describes-music-and-sound" type="text/vtt">http://cdn.com/subtitle.vtt</dfpvideo:closedCaptionUrl>