Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
fix for controls that hide if keyboard scrubbing
Browse files Browse the repository at this point in the history
In version 2.9, I reported issue mediaelement#548, that controls hide when using
keyboard to scrub even if the alwaysShowControls option is set to
"true." Pull request mediaelement#569 merged this fix, but did so in the /build
directory. It appears that fix did not move forward with versions and
the issue is occurring in the latest version. Adding fix in the /src
directory so that future builds get the fix.
  • Loading branch information
peterh-capella committed Jun 27, 2013
1 parent 38e6ffa commit 5a4f992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/mep-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@

doAnimation = typeof doAnimation == 'undefined' || doAnimation;

if (!t.controlsAreVisible)
if (!t.controlsAreVisible || t.options.alwaysShowControls)
return;

if (doAnimation) {
Expand Down

0 comments on commit 5a4f992

Please sign in to comment.