diff --git a/changelog.md b/changelog.md index f6e019ee..4e46f8e8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## v1.6.9 +- Added 'latest' CDN option +- Renamed `sprite.svg` to `plyr.svg` to be inline with the other package files + ## v1.6.8 - Fix for bug introduced in v1.6.7 diff --git a/dist/sprite.svg b/dist/plyr.svg similarity index 100% rename from dist/sprite.svg rename to dist/plyr.svg diff --git a/docs/index.html b/docs/index.html index 801a63fa..24e0a4cc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -79,7 +79,7 @@ + + ``` -You can also access the `sprite.svg` file at `https://cdn.plyr.io/1.6.8/sprite.svg`. +The SVG sprite/defs file can be found here: `https://cdn.plyr.io/1.6.9/plyr.svg`. ### CSS & Styling 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.scss` file included in `/src` in your build to save a request. @@ -94,7 +94,7 @@ The SVG sprite for the controls icons can be loaded two ways: #### Using the `iconUrl` option This method requires the SVG sprite to be hosted on the *same domain* as your page hosting the player. Currently no browser supports cross origin SVG sprites due to XSS issues. Fingers crossed this will come soon though. An example value for this option would be: ``` -/path/to/sprite.svg +/path/to/plyr.svg ``` #### Using AJAX @@ -113,7 +113,7 @@ Using AJAX means you can load the sprite from a different origin. Avoiding the i c.innerHTML = a.responseText; b.insertBefore(c, b.childNodes[0]); }; -})(document, 'https://cdn.plyr.io/1.6.8/sprite.svg'); +})(document, 'https://cdn.plyr.io/1.6.9/plyr.svg'); ``` @@ -188,7 +188,7 @@ Be sure to [validate your caption files](https://quuz.org/webvtt/) Here's an example of a default setup: ```html - + ``` diff --git a/src/js/plyr.js b/src/js/plyr.js index 110dafbc..90fc8888 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v1.6.8 +// plyr.js v1.6.9 // https://github.com/selz/plyr // License: The MIT License (MIT) // ==========================================================================