diff options
Diffstat (limited to 'javascript/videojs/docs/legacy-docs/examples/elephantsdream/index.html')
| -rw-r--r-- | javascript/videojs/docs/legacy-docs/examples/elephantsdream/index.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/javascript/videojs/docs/legacy-docs/examples/elephantsdream/index.html b/javascript/videojs/docs/legacy-docs/examples/elephantsdream/index.html new file mode 100644 index 0000000..cf24c36 --- /dev/null +++ b/javascript/videojs/docs/legacy-docs/examples/elephantsdream/index.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /> + <title>Video.js Text Descriptions, Chapters & Captions Example</title> + + <link href="../../video-js.css" rel="stylesheet" type="text/css"> + + <script src="../../video.js"></script> + + <!-- Set the location of the flash SWF --> + <script> + videojs.setGlobalOptions({ + flash: { + swf: '../../video-js.swf' + } + }); + </script> + +<link rel="canonical" href="https://docs.videojs.com"> +</head> +<body> +<p class="legacydocsnote">This documentation is for an outdated version of Video.js. See <a href="https://docs.videojs.com">documentation for the current release</a>. + + <p style="background-color:#eee; border: 1px solid #777; padding: 10px; font-size: .8em; line-height: 1.5em; font-family: Verdana, sans-serif;">This page demonstrates a text descriptions track (intended primarily for blind and visually impaired consumers of visual media)</p> + + <!-- NOTE: we have to disable native Text Track support for the HTML5 tech, + since even HTML5 video players with native Text Track support + don't currently support 'description' text tracks in any + useful way! --> + <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="360" + data-setup='{ "html5" : { "nativeTextTracks" : false } }'> + <source src="https://archive.org/download/ElephantsDream/ed_hd.mp4" type="video/mp4"> + <source src="https://archive.org/download/ElephantsDream/ed_hd.ogv" type="video/ogv"> + + <track kind="captions" src="captions.en.vtt" srclang="en" label="English" default></track><!-- Tracks need an ending tag thanks to IE9 --> + <track kind="captions" src="captions.sv.vtt" srclang="sv" label="Swedish"></track> + <track kind="captions" src="captions.ru.vtt" srclang="ru" label="Russian"></track> + <track kind="captions" src="captions.ja.vtt" srclang="ja" label="Japanese"></track> + <track kind="captions" src="captions.ar.vtt" srclang="ar" label="Arabic"></track> + + <track kind="descriptions" src="descriptions.en.vtt" srclang="en" label="English"></track> + + <track kind="chapters" src="chapters.en.vtt" srclang="en" label="English"></track> + + <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p> + </video> +</body> +</html> |
