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:
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.
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.