diff options
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/docs/index.html b/docs/index.html index 77502f35..d6171a78 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,25 +8,27 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Styles --> - <link rel="stylesheet" href="https://cdn.plyr.io/1.1.14/plyr.css?1"> + <link rel="stylesheet" href="https://cdn.plyr.io/1.3.5/plyr.css"> <!-- Docs styles --> - <link rel="stylesheet" href="https://cdn.plyr.io/1.1.14/docs.css?2"> + <link rel="stylesheet" href="https://cdn.plyr.io/1.3.5/docs.css"> </head> <body> <header> <h1>Plyr</h1> <p>A simple HTML5 media player with custom controls and WebVTT captions by <a href="https://twitter.com/sam_potts" target="_blank">@sam_potts</a></p> - <ul class="actions"> - <li> - <a href="https://github.com/selz/plyr" target="_blank" class="btn btn-primary">Download on GitHub</a> - <span class="btn-count js-stargazers-count">…</span> - </li> - <li> - <a href="https://twitter.com/intent/tweet?text=A+simple+HTML5+media+player+with+custom+controls+and+WebVTT+captions.&url=http%3A%2F%2Fplyr.io&via=Sam_Potts" target="_blank" class="btn js-popup" data-window-height="250" data-window-width="500">Tweet</a> - <span class="btn-count js-tweet-count">…</span> - </li> - </ul> + <nav> + <ul> + <li> + <a href="https://github.com/selz/plyr" target="_blank" class="btn btn-primary">Download on GitHub</a> + <span class="btn-count js-stargazers-count">…</span> + </li> + <li> + <a href="https://twitter.com/intent/tweet?text=A+simple+HTML5+media+player+with+custom+controls+and+WebVTT+captions.&url=http%3A%2F%2Fplyr.io&via=Sam_Potts" target="_blank" class="btn js-popup" data-window-height="250" data-window-width="500">Tweet</a> + <span class="btn-count js-tweet-count">…</span> + </li> + </ul> + </nav> </header> <main role="main" id="main"> @@ -46,7 +48,7 @@ <source src="https://cdn.selz.com/plyr/1.0/movie.webm" type="video/webm"> <!-- Text track file --> - <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/en.vtt" default> + <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default> <!-- Fallback for browsers that don't support the <video> element --> <a href="https://cdn.selz.com/plyr/1.0/movie.mp4">Download</a> @@ -90,18 +92,18 @@ a.send(); a.onload = function(){ var c = d.createElement("div"); - c.style.display="none"; + c.setAttribute("hidden", ""); c.innerHTML = a.responseText; b.insertBefore(c, b.childNodes[0]); } } - })(document, "https://cdn.plyr.io/1.1.14/sprite.svg"); + })(document, "https://cdn.plyr.io/1.3.5/sprite.svg"); </script> <!-- Plyr core script --> - <script src="https://cdn.plyr.io/1.1.14/plyr.js?1"></script> + <script src="https://cdn.plyr.io/1.3.5/plyr.js"></script> <!-- Docs script --> - <script src="https://cdn.plyr.io/1.1.14/docs.js?1"></script> + <script src="https://cdn.plyr.io/1.3.5/docs.js"></script> </body> </html> |