Seek fixes for touch

This commit is contained in:
Sam Potts
2016-01-25 11:25:32 +11:00
parent b006b73c69
commit a327056789
8 changed files with 54 additions and 14 deletions

View File

@ -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