From b966e60034d578680c5ea8aa36b7540c006e6d3a Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Thu, 2 May 2019 15:28:16 -0500 Subject: [PATCH] Update mediaelement's markersrolls plugin - refs BT#15389 Add padding in iframe + background --- .../assets/mediaelement/plugins/markersrolls/markersrolls.js | 3 ++- .../mediaelement/plugins/markersrolls/markersrolls.min.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.js b/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.js index 6a55bd6137..672bd0b1c2 100644 --- a/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.js +++ b/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.js @@ -41,9 +41,10 @@ Object.assign(MediaElementPlayer.prototype, { markersRollsLayer.frameBorder = '0'; markersRollsLayer.className = this.options.classPrefix + 'markersrolls-layer' + ' ' + (this.options.classPrefix + 'overlay') + ' ' + (this.options.classPrefix + 'layer'); markersRollsLayer.style.display = 'none'; - markersRollsLayer.style.backgroundColor = '#FFF'; + markersRollsLayer.style.backgroundColor = '#9F9F9F'; markersRollsLayer.style.border = '0 none'; markersRollsLayer.style.boxShadow = '#B0B0B0 0px 0px 20px -10px inset'; + markersRollsLayer.style.paddingBottom = '40px'; layers.appendChild(markersRollsLayer); diff --git a/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.min.js b/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.min.js index ebf4fd489f..2a05cc54fc 100644 --- a/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.min.js +++ b/app/Resources/public/assets/mediaelement/plugins/markersrolls/markersrolls.min.js @@ -9,4 +9,4 @@ * License: MIT * */ -!function i(n,a,l){function p(r,e){if(!a[r]){if(!n[r]){var s="function"==typeof require&&require;if(!e&&s)return s(r,!0);if(c)return c(r,!0);var t=new Error("Cannot find module '"+r+"'");throw t.code="MODULE_NOT_FOUND",t}var o=a[r]={exports:{}};n[r][0].call(o.exports,function(e){return p(n[r][1][e]||e)},o,o.exports,i,n,a,l)}return a[r].exports}for(var c="function"==typeof require&&require,e=0;e=this.media.duration||t<0)){var o=100*t/this.media.duration,i=r[s];i.style.width=this.options.markersRollsWidth+"px",i.style.left=o+"%",i.style.background=this.options.markersRollsColor,s++}}})},{}]},{},[1]); \ No newline at end of file +!function i(n,a,l){function p(r,e){if(!a[r]){if(!n[r]){var s="function"==typeof require&&require;if(!e&&s)return s(r,!0);if(c)return c(r,!0);var t=new Error("Cannot find module '"+r+"'");throw t.code="MODULE_NOT_FOUND",t}var o=a[r]={exports:{}};n[r][0].call(o.exports,function(e){return p(n[r][1][e]||e)},o,o.exports,i,n,a,l)}return a[r].exports}for(var c="function"==typeof require&&require,e=0;e=this.media.duration||t<0)){var o=100*t/this.media.duration,i=r[s];i.style.width=this.options.markersRollsWidth+"px",i.style.left=o+"%",i.style.background=this.options.markersRollsColor,s++}}})},{}]},{},[1]); \ No newline at end of file