v3.0.5
This commit is contained in:
		| @ -56,7 +56,7 @@ const defaults = { | ||||
|     // Sprite (for icons) | ||||
|     loadSprite: true, | ||||
|     iconPrefix: 'plyr', | ||||
|     iconUrl: 'https://cdn.plyr.io/3.0.4/plyr.svg', | ||||
|     iconUrl: 'https://cdn.plyr.io/3.0.5/plyr.svg', | ||||
|  | ||||
|     // Blank video (used to prevent errors on source change) | ||||
|     blankVideo: 'https://cdn.plyr.io/static/blank.mp4', | ||||
|  | ||||
| @ -164,8 +164,6 @@ class Fullscreen { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         console.warn(this.prefix); | ||||
|  | ||||
|         // iOS native fullscreen doesn't need the request step | ||||
|         if (browser.isIos && this.player.config.fullscreen.iosNative) { | ||||
|             if (this.player.playing) { | ||||
| @ -202,8 +200,6 @@ class Fullscreen { | ||||
|  | ||||
|     // Toggle state | ||||
|     toggle() { | ||||
|         console.warn('TOGGLE'); | ||||
|  | ||||
|         if (!this.active) { | ||||
|             this.enter(); | ||||
|         } else { | ||||
|  | ||||
| @ -339,8 +339,6 @@ const youtube = { | ||||
|                     // Reset timer | ||||
|                     clearInterval(player.timers.playing); | ||||
|  | ||||
|                     console.warn(event.data); | ||||
|  | ||||
|                     // Handle events | ||||
|                     // -1   Unstarted | ||||
|                     // 0    Ended | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| // ========================================================================== | ||||
| // Plyr | ||||
| // plyr.js v3.0.4 | ||||
| // plyr.js v3.0.5 | ||||
| // https://github.com/sampotts/plyr | ||||
| // License: The MIT License (MIT) | ||||
| // ========================================================================== | ||||
| @ -1019,8 +1019,6 @@ class Plyr { | ||||
|         // then set the timer to hide the controls | ||||
|         if (!show || this.playing) { | ||||
|             this.timers.controls = setTimeout(() => { | ||||
|                 console.warn(this.elements.controls.pressed, this.elements.controls.hover, delay); | ||||
|  | ||||
|                 // If the mouse is over the controls (and not entering fullscreen), bail | ||||
|                 if ((this.elements.controls.pressed || this.elements.controls.hover) && !isEnterFullscreen) { | ||||
|                     return; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| // ========================================================================== | ||||
| // Plyr Polyfilled Build | ||||
| // plyr.js v3.0.4 | ||||
| // plyr.js v3.0.5 | ||||
| // https://github.com/sampotts/plyr | ||||
| // License: The MIT License (MIT) | ||||
| // ========================================================================== | ||||
|  | ||||
		Reference in New Issue
	
	Block a user