SASS fixes, docs changes (fixes #180), 'ready' event

This commit is contained in:
Sam Potts
2016-03-13 21:45:57 +11:00
parent 01b45e7d97
commit 5ea9e59d71
6 changed files with 28 additions and 14 deletions

View File

@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
// plyr.js v1.5.17
// plyr.js v1.5.18
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@ -1242,7 +1242,7 @@
// Toggle style hook
function _toggleStyleHook() {
_toggleClass(plyr.container, defaults.selectors.container.replace('.', ''), plyr.supported.full);
_toggleClass(plyr.container, config.selectors.container.replace('.', ''), plyr.supported.full);
}
// Toggle native controls
@ -2730,6 +2730,9 @@
// Display duration
_displayDuration();
// Ready event
_triggerEvent(plyr.container, 'ready');
}
// Initialize instance