Chapter 9: Media Accessibility and Internationalization - Examples
- Listing 9-1: Providing a plain transcript for a video element
- Listing 9-2: Providing an interactive transcript for a video element
- Listing 9-3: Example WebSRT file with a text description
- Listing 9-4: Example WebSRT file for extended text descriptions
- Listing 9-5: Example WebSRT file containing captions
- Listing 9-6: Example WebSRT file containing enhanced captions
- Listing 9-7: Example WebSRT file containing Russian subtitles
- Listing 9-8: Example WebSRT file containing Japanese subtitles and rendering instructions
- Listing 9-9: Example WebSRT file containing chapter markup
- Listing 9-10: Example WebSRT file containing Karaoke-style subtitles for a song
- Listing 9-11: Example WebSRT file containing grammatically marked-up subtitles
- Listing 9-12: Example of <track> markup with text description WebSRT file
- Listing 9-13: Example of <track> markup with multiple external WebSRT tracks
- Listing 9-14: Example of the Kate file format as used for Ogg time-synchronized text encapsulation
- Listing 9-15: Example of QTTXT file format as used for QuickTime text tracks
- Listing 9-16: Example of TeXML file format as used for 3GPP text tracks
- Listing 9-17: Example of TTXT file format as used for 3GPP text tracks
- Listing 9-18: Example JavaScript snippet to create a new TimedTrack and some cues in script
- Listing 9-19: Example WebSRT file created for Chapter markers
- Listing 9-20: Example JavaScript for dealing with time offsets on page hash