From 0e181133c1570a85f0117ad0b8ac5c0008e57a88 Mon Sep 17 00:00:00 2001 From: Raccoon Date: Mon, 12 Nov 2018 15:37:46 +0800 Subject: [PATCH 1/2] Calling customized controls function with proper arguments --- src/js/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controls.js b/src/js/controls.js index 4f453e6a..f414f6d6 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -1587,7 +1587,7 @@ const controls = { // If function, run it and use output if (is.function(this.config.controls)) { - this.config.controls = this.config.controls.call(this.props); + this.config.controls = this.config.controls.call(this, props); } // Convert falsy controls to empty array (primarily for empty strings) From df5b7a008d4c09e384f24443f84f95ae9ce7fd0a Mon Sep 17 00:00:00 2001 From: Samuel Elgozi Date: Thu, 22 Nov 2018 19:35:01 +0200 Subject: [PATCH 2/2] Fix: buffer progress bar transition on webkit The transition was set on the wrong pseudo element for WebKit browsers. --- src/sass/components/progress.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sass/components/progress.scss b/src/sass/components/progress.scss index 16992808..f28a19ca 100644 --- a/src/sass/components/progress.scss +++ b/src/sass/components/progress.scss @@ -42,13 +42,13 @@ &::-webkit-progress-bar { background: transparent; - transition: width 0.2s ease; } &::-webkit-progress-value { background: currentColor; border-radius: 100px; min-width: $plyr-range-track-height; + transition: width 0.2s ease; } // Mozilla