diff options
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/docs/index.html b/docs/index.html index 3d383d8c..b693d593 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,33 +8,40 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Styles --> - <link rel="stylesheet" href="//cdn.plyr.io/1.1.5/plyr.css"> + <link rel="stylesheet" href="https://cdn.plyr.io/1.1.13/plyr.css?1"> <!-- Docs styles --> - <link rel="stylesheet" href="//cdn.plyr.io/1.1.5/docs.css"> + <link rel="stylesheet" href="https://cdn.plyr.io/1.1.13/docs.css?2"> </head> <body> <header> <h1>Plyr</h1> - <p>A simple HTML5 media player with custom controls and WebVTT captions.</p> - <a href="https://github.com/selz/plyr" target="_blank" class="btn">Download on GitHub</a> + <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-download">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 btn-twitter js-popup" data-window-height="250" data-window-width="500">Tweet</a> + <span class="btn-count js-tweet-count">…</span> + </li> + </ul> </header> <main> <section class="example-video"> <div class="player"> - <video poster="//cdn.selz.com/plyr/1.0/poster.jpg" controls crossorigin> + <video poster="https://cdn.plyr.io/static/poster.jpg" controls crossorigin> <!-- Video files --> - <source src="//cdn.selz.com/plyr/1.0/movie.mp4" type="video/mp4"> - <source src="//cdn.selz.com/plyr/1.0/movie.webm" type="video/webm"> + <source src="https://cdn.selz.com/plyr/1.0/movie.mp4" type="video/mp4"> + <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="//cdn.selz.com/plyr/1.0/en.vtt" default> + <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/en.vtt" default> <!-- Fallback for browsers that don't support the <video> element --> - <div> - <a href="//cdn.selz.com/plyr/1.0/movie.mp4">Download</a> - </div> + <a href="https://cdn.selz.com/plyr/1.0/movie.mp4">Download</a> </video> </div> <small>Big Buck Bunny. More info can be found at <a href="https://peach.blender.org" target="_blank">peach.blender.org</a>.</small> @@ -44,13 +51,11 @@ <div class="player"> <audio controls> <!-- Audio files --> - <source src="//cdn.selz.com/plyr/1.0/logistics-96-sample.mp3" type="audio/mp3"> - <source src="//cdn.selz.com/plyr/1.0/logistics-96-sample.ogg" type="audio/ogg"> + <source src="https://cdn.selz.com/plyr/1.0/logistics-96-sample.mp3" type="audio/mp3"> + <source src="https://cdn.selz.com/plyr/1.0/logistics-96-sample.ogg" type="audio/ogg"> <!-- Fallback for browsers that don't support the <audio> element --> - <div> - <a href="//cdn.selz.com/plyr/1.0/logistics-96-sample.mp3">Download</a> - </div> + <a href="https://cdn.selz.com/plyr/1.0/logistics-96-sample.mp3">Download</a> </audio> </div> <small>"96" by Logistics, which can be purchased from <a href="https://www.hospitalrecords.com/shop/artist/logistics" target="_blank">Hospital Records</a>.</small> @@ -83,13 +88,13 @@ b.insertBefore(c, b.childNodes[0]); } } - })(document, "https://cdn.plyr.io/1.1.5/sprite.svg"); + })(document, "https://cdn.plyr.io/1.1.13/sprite.svg"); </script> <!-- Plyr core script --> - <script src="//cdn.plyr.io/1.1.5/plyr.js"></script> + <script src="https://cdn.plyr.io/1.1.13/plyr.js?1"></script> <!-- Docs script --> - <script src="//cdn.plyr.io/1.1.5/docs.js"></script> + <script src="https://cdn.plyr.io/1.1.13/docs.js?1"></script> </body> -</html>
\ No newline at end of file +</html> |