From a327056789603a025ecd5ec546e65914cd7c5bba Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Mon, 25 Jan 2016 11:25:32 +1100 Subject: Seek fixes for touch --- src/js/plyr.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/js/plyr.js') diff --git a/src/js/plyr.js b/src/js/plyr.js index 0749b716..ac6c7d20 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -2048,7 +2048,7 @@ // Update hover tooltip for seeking function _updateSeekTooltip(event) { // Bail if setting not true - if (!config.tooltips.seek) { + if (!config.tooltips.seek || plyr.browser.touch) { return; } @@ -2251,11 +2251,11 @@ // Load HTML5 sources plyr.media.load(); - // Display duration if available - _displayDuration(); - // Setup interface _setupInterface(); + + // Display duration if available + _displayDuration(); } // Play if autoplay attribute is present -- cgit v1.2.3