CDN URL updates
This commit is contained in:
		| @ -1,5 +1,11 @@ | |||||||
| # Changelog | # Changelog | ||||||
|  |  | ||||||
|  | ## v2.0.14 | ||||||
|  | - CDN URL updates. Sorry, still working on V3 as hard as I can... | ||||||
|  |  | ||||||
|  | ## v2.0.13 | ||||||
|  | - Repo moved and Vimeo demo fix | ||||||
|  |  | ||||||
| ## v2.0.12 | ## v2.0.12 | ||||||
| - Ability to set custom `blankUrl` for source changes (https://github.com/sampotts/plyr/pull/504) | - Ability to set custom `blankUrl` for source changes (https://github.com/sampotts/plyr/pull/504) | ||||||
| - Ability to set caption button listener (https://github.com/sampotts/plyr/pull/468) | - Ability to set caption button listener (https://github.com/sampotts/plyr/pull/468) | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								demo/dist/demo.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								demo/dist/demo.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								demo/dist/demo.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								demo/dist/demo.js
									
									
									
									
										vendored
									
									
								
							| @ -1 +1 @@ | |||||||
| "document"in self&&("classList"in document.createElement("_")?!function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var i,s=arguments.length;for(i=0;i<s;i++)e=arguments[i],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:i.call(this,e)}}e=null}():!function(e){"use strict";if("Element"in e){var t="classList",i="prototype",s=e.Element[i],o=Object,n=String[i].trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array[i].indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return r.call(e,t)},l=function(e){for(var t=n.call(e.getAttribute("class")||""),i=t?t.split(/\s+/):[],s=0,o=i.length;s<o;s++)this.push(i[s]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=l[i]=[],d=function(){return new l(this)};if(a[i]=Error[i],u.item=function(e){return this[e]||null},u.contains=function(e){return e+="",c(this,e)!==-1},u.add=function(){var e,t=arguments,i=0,s=t.length,o=!1;do e=t[i]+"",c(this,e)===-1&&(this.push(e),o=!0);while(++i<s);o&&this._updateClassName()},u.remove=function(){var e,t,i=arguments,s=0,o=i.length,n=!1;do for(e=i[s]+"",t=c(this,e);t!==-1;)this.splice(t,1),n=!0,t=c(this,e);while(++s<o);n&&this._updateClassName()},u.toggle=function(e,t){e+="";var i=this.contains(e),s=i?t!==!0&&"remove":t!==!1&&"add";return s&&this[s](e),t===!0||t===!1?t:!i},u.toString=function(){return this.join(" ")},o.defineProperty){var p={get:d,enumerable:!0,configurable:!0};try{o.defineProperty(s,t,p)}catch(e){e.number===-2146823252&&(p.enumerable=!1,o.defineProperty(s,t,p))}}else o[i].__defineGetter__&&s.__defineGetter__(t,d)}}(self)),function(){function e(e,t,i){if(e)if(e.classList)e.classList[i?"add":"remove"](t);else{var s=(" "+e.className+" ").replace(/\s+/g," ").replace(" "+t+" ","");e.className=s+(i?" "+t:"")}}function t(t,i){if(t in n&&(i||t!==r)&&(r.length||t!==n.video)){switch(t){case n.video:s.source({type:"video",title:"View From A Blue Moon",sources:[{src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4",type:"video/mp4"},{src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.webm",type:"video/webm"}],poster:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg",tracks:[{kind:"captions",label:"English",srclang:"en",src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.en.vtt",default:!0}]});break;case n.audio:s.source({type:"audio",title:"Kishi Bashi – “It All Began With A Burst”",sources:[{src:"https://cdn.selz.com/plyr/1.5/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3",type:"audio/mp3"},{src:"https://cdn.selz.com/plyr/1.5/Kishi_Bashi_-_It_All_Began_With_a_Burst.ogg",type:"audio/ogg"}]});break;case n.youtube:s.source({type:"video",title:"View From A Blue Moon",sources:[{src:"bTqVqk7FSmY",type:"youtube"}]});break;case n.vimeo:s.source({type:"video",title:"View From A Blue Moon",sources:[{src:"147865858",type:"vimeo"}]})}r=t;for(var a=o.length-1;a>=0;a--)e(o[a].parentElement,"active",!1);e(document.querySelector('[data-source="'+t+'"]').parentElement,"active",!0)}}var i=plyr.setup({debug:!0,title:"Video demo",iconUrl:"../dist/plyr.svg",tooltips:{controls:!0},captions:{defaultActive:!0}});plyr.loadSprite("dist/demo.svg");for(var s=i[0],o=document.querySelectorAll("[data-source]"),n={video:"video",audio:"audio",youtube:"youtube",vimeo:"vimeo"},r=window.location.hash.replace("#",""),a=window.history&&window.history.pushState,c=o.length-1;c>=0;c--)o[c].addEventListener("click",function(){var e=this.getAttribute("data-source");t(e),a&&history.pushState({type:e},"","#"+e)});if(window.addEventListener("popstate",function(e){e.state&&"type"in e.state&&t(e.state.type)}),a){var l=!r.length;l&&(r=n.video),r in n&&history.replaceState({type:r},"",l?"":"#"+r),r!==n.video&&t(r,!0)}}(),document.domain.indexOf("plyr.io")>-1&&(!function(e,t,i,s,o,n,r){e.GoogleAnalyticsObject=o,e[o]=e[o]||function(){(e[o].q=e[o].q||[]).push(arguments)},e[o].l=1*new Date,n=t.createElement(i),r=t.getElementsByTagName(i)[0],n.async=1,n.src=s,r.parentNode.insertBefore(n,r)}(window,document,"script","//www.google-analytics.com/analytics.js","ga"),ga("create","UA-40881672-11","auto"),ga("send","pageview")); | "document"in self&&("classList"in document.createElement("_")?function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var i,o=arguments.length;for(i=0;i<o;i++)e=arguments[i],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:i.call(this,e)}}e=null}():function(e){"use strict";if("Element"in e){var t=e.Element.prototype,i=Object,o=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array.prototype.indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1},n=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},r=function(e,t){if(""===t)throw new n("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new n("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(e,t)},a=function(e){for(var t=o.call(e.getAttribute("class")||""),i=t?t.split(/\s+/):[],s=0,n=i.length;s<n;s++)this.push(i[s]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=a.prototype=[],l=function(){return new a(this)};if(n.prototype=Error.prototype,c.item=function(e){return this[e]||null},c.contains=function(e){return e+="",-1!==r(this,e)},c.add=function(){var e,t=arguments,i=0,o=t.length,s=!1;do{e=t[i]+"",-1===r(this,e)&&(this.push(e),s=!0)}while(++i<o);s&&this._updateClassName()},c.remove=function(){var e,t,i=arguments,o=0,s=i.length,n=!1;do{for(e=i[o]+"",t=r(this,e);-1!==t;)this.splice(t,1),n=!0,t=r(this,e)}while(++o<s);n&&this._updateClassName()},c.toggle=function(e,t){e+="";var i=this.contains(e),o=i?!0!==t&&"remove":!1!==t&&"add";return o&&this[o](e),!0===t||!1===t?t:!i},c.toString=function(){return this.join(" ")},i.defineProperty){var u={get:l,enumerable:!0,configurable:!0};try{i.defineProperty(t,"classList",u)}catch(e){-2146823252===e.number&&(u.enumerable=!1,i.defineProperty(t,"classList",u))}}else i.prototype.__defineGetter__&&t.__defineGetter__("classList",l)}}(self)),function(){function e(e,t,i){if(e)if(e.classList)e.classList[i?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(/\s+/g," ").replace(" "+t+" ","");e.className=o+(i?" "+t:"")}}function t(t,i){if(t in n&&(i||t!==r)&&(r.length||t!==n.video)){switch(t){case n.video:o.source({type:"video",title:"View From A Blue Moon",sources:[{src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4",type:"video/mp4"},{src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.webm",type:"video/webm"}],poster:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg",tracks:[{kind:"captions",label:"English",srclang:"en",src:"https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.en.vtt",default:!0}]});break;case n.audio:o.source({type:"audio",title:"Kishi Bashi – “It All Began With A Burst”",sources:[{src:"https://cdn.selz.com/plyr/1.5/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3",type:"audio/mp3"},{src:"https://cdn.selz.com/plyr/1.5/Kishi_Bashi_-_It_All_Began_With_a_Burst.ogg",type:"audio/ogg"}]});break;case n.youtube:o.source({type:"video",title:"View From A Blue Moon",sources:[{src:"bTqVqk7FSmY",type:"youtube"}]});break;case n.vimeo:o.source({type:"video",title:"View From A Blue Moon",sources:[{src:"147865858",type:"vimeo"}]})}r=t;for(var a=s.length-1;a>=0;a--)e(s[a].parentElement,"active",!1);e(document.querySelector('[data-source="'+t+'"]').parentElement,"active",!0)}}var i=plyr.setup({debug:!0,title:"Video demo",iconUrl:"../dist/plyr.svg",tooltips:{controls:!0},captions:{defaultActive:!0}});plyr.loadSprite("dist/demo.svg");for(var o=i[0],s=document.querySelectorAll("[data-source]"),n={video:"video",audio:"audio",youtube:"youtube",vimeo:"vimeo"},r=window.location.hash.replace("#",""),a=window.history&&window.history.pushState,c=s.length-1;c>=0;c--)s[c].addEventListener("click",function(){var e=this.getAttribute("data-source");t(e),a&&history.pushState({type:e},"","#"+e)});if(window.addEventListener("popstate",function(e){e.state&&"type"in e.state&&t(e.state.type)}),a){var l=!r.length;l&&(r=n.video),r in n&&history.replaceState({type:r},"",l?"":"#"+r),r!==n.video&&t(r,!0)}}(),document.domain.indexOf("plyr.io")>-1&&(!function(e,t,i,o,s,n,r){e.GoogleAnalyticsObject=s,e[s]=e[s]||function(){(e[s].q=e[s].q||[]).push(arguments)},e[s].l=1*new Date,n=t.createElement(i),r=t.getElementsByTagName(i)[0],n.async=1,n.src="//www.google-analytics.com/analytics.js",r.parentNode.insertBefore(n,r)}(window,document,"script",0,"ga"),ga("create","UA-40881672-11","auto"),ga("send","pageview")); | ||||||
| @ -1,6 +1,7 @@ | |||||||
| <!doctype html> | <!doctype html> | ||||||
| <html lang="en"> | <html lang="en"> | ||||||
|     <head> |  | ||||||
|  | <head> | ||||||
|     <meta charset="utf-8" /> |     <meta charset="utf-8" /> | ||||||
|     <title>Plyr - A simple HTML5 media player</title> |     <title>Plyr - A simple HTML5 media player</title> | ||||||
|     <meta name="description" content="A simple HTML5 media player with custom controls and WebVTT captions."> |     <meta name="description" content="A simple HTML5 media player with custom controls and WebVTT captions."> | ||||||
| @ -12,8 +13,9 @@ | |||||||
|  |  | ||||||
|     <!-- Docs styles --> |     <!-- Docs styles --> | ||||||
|     <link rel="stylesheet" href="dist/demo.css"> |     <link rel="stylesheet" href="dist/demo.css"> | ||||||
|     </head> | </head> | ||||||
|     <body> |  | ||||||
|  | <body> | ||||||
|     <header> |     <header> | ||||||
|         <h1>Plyr</h1> |         <h1>Plyr</h1> | ||||||
|         <p>A simple, accessible HTML5 media player by <a href="https://twitter.com/sam_potts" target="_blank">@sam_potts</a></p> |         <p>A simple, accessible HTML5 media player by <a href="https://twitter.com/sam_potts" target="_blank">@sam_potts</a></p> | ||||||
| @ -21,12 +23,17 @@ | |||||||
|             <ul> |             <ul> | ||||||
|                 <li> |                 <li> | ||||||
|                     <a href="https://github.com/sampotts/plyr" target="_blank" class="btn btn--large btn--primary" data-shr-network="github"> |                     <a href="https://github.com/sampotts/plyr" target="_blank" class="btn btn--large btn--primary" data-shr-network="github"> | ||||||
|                             <svg class="icon"><use xlink:href="#icon-github"/></svg>Download on GitHub |                         <svg class="icon"> | ||||||
|  |                             <use xlink:href="#icon-github" /> | ||||||
|  |                         </svg>Download on GitHub | ||||||
|                     </a> |                     </a> | ||||||
|                 </li> |                 </li> | ||||||
|                 <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--large btn--twitter" data-shr-network="twitter"> |                     <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" | ||||||
|                             <svg class="icon"><use xlink:href="#icon-twitter"/></svg>Tweet |                         target="_blank" class="btn btn--large btn--twitter" data-shr-network="twitter"> | ||||||
|  |                         <svg class="icon"> | ||||||
|  |                             <use xlink:href="#icon-twitter" /> | ||||||
|  |                         </svg>Tweet | ||||||
|                     </a> |                     </a> | ||||||
|                 </li> |                 </li> | ||||||
|             </ul> |             </ul> | ||||||
| @ -51,16 +58,17 @@ | |||||||
|             </ul> |             </ul> | ||||||
|         </nav> |         </nav> | ||||||
|         <section> |         <section> | ||||||
|                 <video poster="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.jpg?v1" controls crossorigin> |             <video poster="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg?v1" controls crossorigin> | ||||||
|                 <!-- Video files --> |                 <!-- Video files --> | ||||||
|                     <source src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4"> |                 <source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4"> | ||||||
|                     <source src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.webm" type="video/webm"> |                 <source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.webm" type="video/webm"> | ||||||
|  |  | ||||||
|                 <!-- Text track file --> |                 <!-- Text track file --> | ||||||
|                     <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.en.vtt" default> |                 <track kind="captions" label="English" srclang="en" src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.en.vtt" | ||||||
|  |                     default> | ||||||
|  |  | ||||||
|                 <!-- Fallback for browsers that don't support the <video> element --> |                 <!-- Fallback for browsers that don't support the <video> element --> | ||||||
|                     <a href="https://cdn.selz.com/plyr/1.5/View_From_A_Blue_Moon_Trailer-HD.mp4" download>Download</a> |                 <a href="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.mp4" download>Download</a> | ||||||
|             </video> |             </video> | ||||||
|  |  | ||||||
|             <ul> |             <ul> | ||||||
| @ -83,6 +91,9 @@ | |||||||
|  |  | ||||||
|     <!-- Sharing libary (https://shr.one) --> |     <!-- Sharing libary (https://shr.one) --> | ||||||
|     <script src="https://cdn.shr.one/1.0.1/shr.js"></script> |     <script src="https://cdn.shr.one/1.0.1/shr.js"></script> | ||||||
|         <script>if(window.shr) { window.shr.setup({ count: { classname: 'btn__count' } }); }</script> |     <script> | ||||||
|     </body> |         if (window.shr) { window.shr.setup({ count: { classname: 'btn__count' } }); } | ||||||
|  |     </script> | ||||||
|  | </body> | ||||||
|  |  | ||||||
| </html> | </html> | ||||||
| @ -4,15 +4,15 @@ | |||||||
|  |  | ||||||
| @font-face { | @font-face { | ||||||
|     font-family: "Avenir"; |     font-family: "Avenir"; | ||||||
|     src:    url("//cdn.plyr.io/fonts/avenir-medium.woff2") format("woff2"),  |     src: url("//cdn.plyr.io/static/fonts/avenir-medium.woff2") format("woff2"), | ||||||
|             url("//cdn.plyr.io/fonts/avenir-medium.woff") format("woff"); |         url("//cdn.plyr.io/static/fonts/avenir-medium.woff") format("woff"); | ||||||
|     font-style: normal; |     font-style: normal; | ||||||
|     font-weight: @font-weight-base; |     font-weight: @font-weight-base; | ||||||
| } | } | ||||||
| @font-face { | @font-face { | ||||||
|     font-family: "Avenir"; |     font-family: "Avenir"; | ||||||
|     src:    url("//cdn.plyr.io/fonts/avenir-bold.woff2") format("woff2"),  |     src: url("//cdn.plyr.io/static/fonts/avenir-bold.woff2") format("woff2"), | ||||||
|             url("//cdn.plyr.io/fonts/avenir-bold.woff") format("woff"); |         url("//cdn.plyr.io/static/fonts/avenir-bold.woff") format("woff"); | ||||||
|     font-style: normal; |     font-style: normal; | ||||||
|     font-weight: @font-weight-bold; |     font-weight: @font-weight-bold; | ||||||
| } | } | ||||||
							
								
								
									
										2
									
								
								dist/plyr.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/plyr.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										3
									
								
								dist/plyr.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/plyr.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|     "name": "plyr", |     "name": "plyr", | ||||||
|   "version": "2.0.13", |     "version": "2.0.14", | ||||||
|     "description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", |     "description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player", | ||||||
|     "homepage": "http://plyr.io", |     "homepage": "http://plyr.io", | ||||||
|     "main": "src/js/plyr.js", |     "main": "src/js/plyr.js", | ||||||
| @ -24,15 +24,7 @@ | |||||||
|         "run-sequence": "^1.1.5", |         "run-sequence": "^1.1.5", | ||||||
|         "through2": "^2.0.1" |         "through2": "^2.0.1" | ||||||
|     }, |     }, | ||||||
|   "keywords": [ |     "keywords": ["HTML5 Video", "HTML5 Audio", "Media Player", "DASH", "Shaka", "WordPress", "HLS"], | ||||||
|     "HTML5 Video", |  | ||||||
|     "HTML5 Audio", |  | ||||||
|     "Media Player", |  | ||||||
|     "DASH", |  | ||||||
|     "Shaka", |  | ||||||
|     "WordPress", |  | ||||||
|     "HLS" |  | ||||||
|   ], |  | ||||||
|     "repository": { |     "repository": { | ||||||
|         "type": "git", |         "type": "git", | ||||||
|         "url": "git://github.com/sampotts/plyr.git" |         "url": "git://github.com/sampotts/plyr.git" | ||||||
|  | |||||||
| @ -5,7 +5,7 @@ A simple, accessible and customizable HTML5, YouTube and Vimeo media player. | |||||||
|  |  | ||||||
| [Checkout the demo](https://plyr.io) | [Checkout the demo](https://plyr.io) | ||||||
|  |  | ||||||
| [](https://plyr.io) | [](https://plyr.io) | ||||||
|  |  | ||||||
| ## Why? | ## Why? | ||||||
| We wanted a lightweight, accessible and customizable media player that supports [*modern*](#browser-support) browsers. Sure, there are many other players out there but we wanted to keep things simple, using the right elements for the job. | We wanted a lightweight, accessible and customizable media player that supports [*modern*](#browser-support) browsers. Sure, there are many other players out there but we wanted to keep things simple, using the right elements for the job. | ||||||
| @ -137,7 +137,7 @@ Include the `plyr.js` script before the closing `</body>` tag and then call `ply | |||||||
| If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript, you can use the following: | If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the JavaScript, you can use the following: | ||||||
|  |  | ||||||
| ```html | ```html | ||||||
| <script src="https://cdn.plyr.io/2.0.13/plyr.js"></script> | <script src="https://cdn.plyr.io/2.0.14/plyr.js"></script> | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| ### CSS | ### CSS | ||||||
| @ -150,11 +150,11 @@ Include the `plyr.css` stylsheet into your `<head>` | |||||||
| If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following: | If you want to use our CDN (provided by [Fastly](https://www.fastly.com/)) for the default CSS, you can use the following: | ||||||
|  |  | ||||||
| ```html | ```html | ||||||
| <link rel="stylesheet" href="https://cdn.plyr.io/2.0.13/plyr.css"> | <link rel="stylesheet" href="https://cdn.plyr.io/2.0.14/plyr.css"> | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| ### SVG Sprite | ### SVG Sprite | ||||||
| The SVG sprite is loaded automatically from our CDN (provided by [Fastly](https://www.fastly.com/)). To change this, see the [options](#options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/2.0.13/plyr.svg`. | The SVG sprite is loaded automatically from our CDN (provided by [Fastly](https://www.fastly.com/)). To change this, see the [options](#options) below. For reference, the CDN hosted SVG sprite can be found at `https://cdn.plyr.io/2.0.14/plyr.svg`. | ||||||
|  |  | ||||||
| ## Advanced | ## Advanced | ||||||
|  |  | ||||||
|  | |||||||
							
								
								
									
										1312
									
								
								src/js/plyr.js
									
									
									
									
									
								
							
							
						
						
									
										1312
									
								
								src/js/plyr.js
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user