Audio styles

This commit is contained in:
Sam
2016-04-26 21:15:36 +10:00
parent 6c8d118f83
commit 57b3b9e3f6
8 changed files with 140 additions and 99 deletions

View File

@ -2423,6 +2423,11 @@
var trigger = plyr.buttons[play ? 'play' : 'pause'],
target = plyr.buttons[play ? 'pause' : 'play'];
// Get the last play button to account for the large play button
if(target && target.length > 1) {
target = target[target.length - 1];
}
// Setup focus and tab focus
if(target) {
var hadTabFocus = _hasClass(trigger, config.classes.tabFocus);