TogglePlay API method (Fixes #86), Volume border (Fixes #87), Chrome Subs (Fixes #90)

This commit is contained in:
Sam Potts
2015-06-07 23:00:26 +10:00
parent df84ce6e90
commit 4c17f98520
14 changed files with 255 additions and 42 deletions

View File

@ -8,16 +8,25 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.10/plyr.css">
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.11/plyr.css">
<!-- Docs styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.10/docs.css">
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.11/docs.css?3">
</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">&hellip;</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">&hellip;</span>
</li>
</ul>
</header>
<main>
@ -79,13 +88,13 @@
b.insertBefore(c, b.childNodes[0]);
}
}
})(document, "https://cdn.plyr.io/1.1.10/sprite.svg");
})(document, "https://cdn.plyr.io/1.1.11/sprite.svg");
</script>
<!-- Plyr core script -->
<script src="https://cdn.plyr.io/1.1.10/plyr.js"></script>
<script src="https://cdn.plyr.io/1.1.11/plyr.js"></script>
<!-- Docs script -->
<script src="https://cdn.plyr.io/1.1.10/docs.js"></script>
<script src="https://cdn.plyr.io/1.1.11/docs.js?3"></script>
</body>
</html>