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">
<!-- 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>
<body>
<main>

View File

@ -8,16 +8,17 @@
<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.2.0/plyr.css?1">
<!-- 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>
<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">
<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">&hellip;</span>
@ -27,6 +28,7 @@
<span class="btn-count js-tweet-count">&hellip;</span>
</li>
</ul>
</nav>
</header>
<main role="main" id="main">
@ -95,13 +97,13 @@
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>
<!-- 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 -->
<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>
</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.
**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
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:
```html
<link rel="stylesheet" href="https://cdn.plyr.io/1.1.14/plyr.css">
<script src="https://cdn.plyr.io/1.1.14/plyr.js"></script>
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.0/plyr.css">
<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
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.