# Changelog ## v1.5.4 - Minor bug fix for clicking video to play/pause after source change ## v1.5.3 - Minor bug fix for occasional display of 0:00 as the media duration ## v1.5.2 - `handlers` option renamed to `listeners` - Added event listeners for all types to the plyr container (playback, fullscreen, captions etc - see docs) - Removed onSetup config option (use the 'setup' event instead, plyr element is event.plyr) - Style bug fixes - Vimeo seek bug fix (requires whole seconds when seeking) - Fix for fullscreen player (using class hook, not browser fullscreen) ## v1.5.1 - Fix for event listeners being duplicated on source change # v1.5.0 - Vimeo support (fixes #8) - New options for initialization (you can now pass a selector, HTMLElement or NodeList) (fixes #118) - Switched to BEM methodology (you will need to change CSS and probably HTML) - Decoupled CSS and JS hooks (fixes #129) - Custom controls container (fixes #98) - Fix for private/incognito mode local storage bug (fixes #131) - UMD module setup (fixes #121) - Specify iframe title for Vimeo and YouTube (fixes #124) - Better handling of mission controls (fixes #132) - Retain classname on source change (fixes #120) - Increased thumb size on seek (partially fixes #130) - Passing no argument to `source` api method, now returns current source (by @gurupras) - Ability to add custom handlers to controls prior to Plyr bindings (by @gurupras) - Keyboard navigation improvements (focus on seek, focus trap in fullscreen) (fixes #135) ## v1.3.5 - Fixed bug with API use on basic supported browsers ## v1.3.4 - Code cleanup by @calvintam236 ## v1.3.3 - Removed captions being read by screen readers ## v1.3.2 - Voiceover fix for captions ## v1.3.1 - ARIA improvements for captions being read ## v1.3.0 - Internationalization support (i18n) using default controls (required markup changes to controls) - ARIA enhancements for controls (required markup changes to controls) - Captions legibility improvements - YouTube bug fixes ## v1.2.6 - SASS updates and fixes (cheers @ChristianPV) ## v1.2.5 - Fix for YouTube quality (let them decide quality) ## v1.2.4 - Fix for omitted kind attribute on (fixes #88) ## v1.2.3 - Fix for YouTube on iPhone or unsupported browsers (fallback to YouTube native) - Docs tidy up - Fullscreen for Safari fix (Fixes #96) ## v1.2.2 - Fix for :focus keyboard vs mouse (Fixes #61) - Fix for caption positioning in full screen (Fixes #92) ## v1.2.1 - Tooltip bug fix # v1.2.0 - Added YouTube support ## v1.1.13 - Added icon prefix option for when using default controls ## v1.1.13 - Logic tweaks for hiding controls in fullscreen ## v1.1.12 - Bug fix for Chrome Canary ## v1.1.11 - Bug fix ## v1.1.10 - Bug fix ## v1.1.9 - Bug fix for 1.1.8 ## v1.1.8 - setVolume API method improvements (Fixes #83) ## v1.1.7 - Restore classname on destroy() ## v1.1.6 - New API methods (fixes #77), Fix for non strict mode (fixes #78) ## v1.1.5 - Fix for incorrect `isFullscreen()` return value in Mozilla (Fixes #38) ## v1.1.4 - Minor bug fixes ## v1.1.3 - Fixes for random id used in controls with multiple instances and one call to setup - Audio player UI improvements ## v1.1.2 - Added an onSetup callback option - Added fullscreen API methods `toggleFullscreen()` (must be user iniated), and `isFullscreen()` ## v1.1.1 - Fix for unsupported browser handling - Fix for config.controls having no effect ## v1.1.0 - Added config option to set which controls are shown (if using the default controls html) and better handling of missing controls ## v1.0.31 - Display duration on `metadataloaded` ## v1.0.30 - Fixed bug with media longer than 60 minutes (Fixes #69) ## v1.0.29 - Added option to hide controls on fullscreen (default `true`) while palying, after 1s. Pause, mouse hover on progress, or focus on a child control re-shows the controls. On touch a tap of the video (which plays/pauses the video by default) is required. (Fixes #47) - Fixed a bug with caption toggle in 1.0.28 ## v1.0.28 - Added API support for browsers that don't have full plyr support (pretty much <=IE9 and `