2017-12-04 17:42:07 -05:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > Video.js | HTML5 Video Player< / title >
< link href = "http://vjs.zencdn.net/5.0.2/video-js.css" rel = "stylesheet" >
< script src = "http://vjs.zencdn.net/ie8/1.1.0/videojs-ie8.min.js" > < / script >
< script src = "http://vjs.zencdn.net/5.0.2/video.js" > < / script >
2021-01-06 18:50:22 +01:00
< link rel = "canonical" href = "https://docs.videojs.com" >
2017-12-04 17:42:07 -05:00
< / head >
< body >
2021-01-06 18:50:22 +01:00
< 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 > .
2017-12-04 17:42:07 -05:00
< video id = "example_video_1" class = "video-js vjs-default-skin" controls preload = "none" width = "640" height = "264" poster = "http://vjs.zencdn.net/v/oceans.png" data-setup = "{}" >
< source src = "http://vjs.zencdn.net/v/oceans.mp4" type = "video/mp4" >
< source src = "http://vjs.zencdn.net/v/oceans.webm" type = "video/webm" >
< source src = "http://vjs.zencdn.net/v/oceans.ogv" type = "video/ogg" >
< track kind = "captions" src = "../shared/example-captions.vtt" srclang = "en" label = "English" > < / track >
<!-- Tracks need an ending tag thanks to IE9 -->
< track kind = "subtitles" src = "../shared/example-captions.vtt" srclang = "en" label = "English" > < / track >
<!-- Tracks need an ending tag thanks to IE9 -->
< 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 >