From 7c5f38311b3261a9cbdabff816240f6d737401b7 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sat, 4 Apr 2015 12:51:24 +1100 Subject: Bug fixes for controls changes --- src/js/plyr.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/js/plyr.js b/src/js/plyr.js index 8b995303..b8b2f17d 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v1.1.0 +// plyr.js v1.1.1 // https://github.com/selz/plyr // License: The MIT License (MIT) // ========================================================================== @@ -84,7 +84,7 @@ }; // Build the default HTML - defaults.html = (function() { + function _buildControls() { // Open and add the progress and seek elements var html = [ "
", @@ -101,7 +101,7 @@ ""]; // Restart button - if(_inArray(defaults.controls, "restart")) { + if(_inArray(config.controls, "restart")) { html.push( "