Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Potts committed Jul 20, 2015
1 parent b39961e commit e49c417
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
32 changes: 17 additions & 15 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.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">
<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>
</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">&hellip;</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">&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>
<span class="btn-count js-tweet-count">&hellip;</span>
</li>
</ul>
</nav>
</header>

<main role="main" id="main">
Expand Down Expand Up @@ -95,13 +97,13 @@ <h1>Plyr</h1>
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>
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit e49c417

Please sign in to comment.