Subtitles for tvOS
Subtitles enhance the viewing experience by providing text-based translations or transcriptions for audio content.
In the Wowza Flowplayer Apple SDK, we support using WebVTT (Web Video Text Tracks) for subtitles. WebVTT files contain time-stamped text tracks that can be synchronized with video playback. By leveraging the WebVTT format and the flexibility of the Apple SDK, you can manage subtitles within your video playback experience while providing multilingual support and accessibility options to users.
The subtitle approach you pick depends on the type of media you're integrating into your application. If loading an external media item, see Add subtitles for external media.
For information related to listening to events, managing media playback, and handling errors, see the following pages:
Add subtitles for Wowza Video media
If you're using the MediaOVP
media type, subtitle configuration occurs through our Wowza Video platform. In Wowza Video, you can configure and associate WebVTT subtitle files with your media content. The Apple SDK automatically retrieves and displays the appropriate subtitles based on the selected language or user preferences. For more, see Add subtitles to a video and Manage subtitles in the files list.
Add subtitles for external media
When using the MediaExternal type to load external media files, you must provide a valid WebVTT URL within your master file. This URL should point to the WebVTT file location containing the subtitle tracks for your media. The SDK fetches the WebVTT file, handles everything behind the scenes, and displays subtitles during video playback.
info
For proper rendering and synchronization of the subtitle tracks, ensure that your WebVTT files comply with the WebVTT specification. WebVTT files typically include time intervals and text entries that indicate each subtitle's display duration and content.