Version bump

This commit is contained in:
Sam Potts 2015-07-20 22:32:29 +10:00
parent b39961ec49
commit e49c417e54
3 changed files with 22 additions and 20 deletions

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Docs styles --> <!-- Docs styles -->
<link rel="stylesheet" href="//cdn.plyr.io/1.1.14/docs.css"> <link rel="stylesheet" href="//cdn.plyr.io/1.2.0/docs.css">
</head> </head>
<body> <body>
<main> <main>

View File

@ -8,25 +8,27 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Styles --> <!-- Styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.14/plyr.css?1"> <link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/plyr.css?1">
<!-- Docs styles --> <!-- 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.2.0/docs.css?2">
</head> </head>
<body> <body>
<header> <header>
<h1>Plyr</h1> <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> <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"> <nav>
<li> <ul>
<a href="https://github.com/selz/plyr" target="_blank" class="btn btn-primary">Download on GitHub</a> <li>
<span class="btn-count js-stargazers-count">&hellip;</span> <a href="https://github.com/selz/plyr" target="_blank" class="btn btn-primary">Download on GitHub</a>
</li> <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 js-popup" data-window-height="250" data-window-width="500">Tweet</a> <li>
<span class="btn-count js-tweet-count">&hellip;</span> <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>
</li> <span class="btn-count js-tweet-count">&hellip;</span>
</ul> </li>
</ul>
</nav>
</header> </header>
<main role="main" id="main"> <main role="main" id="main">
@ -95,13 +97,13 @@
b.insertBefore(c, b.childNodes[0]); b.insertBefore(c, b.childNodes[0]);
} }
} }
})(document, "https://cdn.plyr.io/1.1.14/sprite.svg"); })(document, "https://cdn.plyr.io/1.2.0/sprite.svg");
</script> </script>
<!-- Plyr core script --> <!-- Plyr core script -->
<script src="https://cdn.plyr.io/1.1.14/plyr.js?1"></script> <script src="https://cdn.plyr.io/1.2.0/plyr.js?1"></script>
<!-- Docs script --> <!-- Docs script -->
<script src="https://cdn.plyr.io/1.1.14/docs.js?1"></script> <script src="https://cdn.plyr.io/1.2.0/docs.js?1"></script>
</body> </body>
</html> </html>

View File

@ -39,7 +39,7 @@ If you have any cool ideas or features, please let me know by [creating an issue
Check `docs/index.html` and `docs/dist/docs.js` for an example setup. Check `docs/index.html` and `docs/dist/docs.js` for an example setup.
**Heads up**, the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.1.14/plyr.js` to `https://cdn.plyr.io/1.1.14/plyr.js` **Heads up**, the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.2.0/plyr.js` to `https://cdn.plyr.io/1.2.0/plyr.js`
### Bower ### Bower
If bower is your thang, you can grab Plyr using: If bower is your thang, you can grab Plyr using:
@ -59,11 +59,11 @@ More info is on [npm](https://www.npmjs.com/package/ember-cli-plyr) and [GitHub]
If you want to use our CDN, you can use the following: If you want to use our CDN, you can use the following:
```html ```html
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.14/plyr.css"> <link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/plyr.css">
<script src="https://cdn.plyr.io/1.1.14/plyr.js"></script> <script src="https://cdn.plyr.io/1.2.0/plyr.js"></script>
``` ```
You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.1.14/sprite.svg`. You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.2.0/sprite.svg`.
### CSS ### CSS
If you want to use the default css, add the `plyr.css` file from /dist into your head, or even better use `plyr.less` or `plyr.sass` file included in `/src` in your build to save a request. If you want to use the default css, add the `plyr.css` file from /dist into your head, or even better use `plyr.less` or `plyr.sass` file included in `/src` in your build to save a request.