Fix for !hideControls on touch devices (fixes #303)
This commit is contained in:
parent
4effda125a
commit
39dc651a9d
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -2979,8 +2979,8 @@
|
|||||||
|
|
||||||
// On click play, pause ore restart
|
// On click play, pause ore restart
|
||||||
_on(wrapper, 'click', function() {
|
_on(wrapper, 'click', function() {
|
||||||
// Touch devices will just show controls
|
// Touch devices will just show controls (if we're hiding controls)
|
||||||
if (plyr.browser.isTouch && !plyr.media.paused) {
|
if (config.hideControls && plyr.browser.isTouch && !plyr.media.paused) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user