v1.5.2

sampotts/plyrv1.5.2Jan 18, 2016by sampotts

AI Summary

A maintenance release focusing on bug fixes and refactoring event handling configuration, specifically renaming options and improving event listener registration.

Key Highlights

  • Renamed `handlers` configuration option to `listeners`
  • Added event listeners for all types to the plyr container
  • Removed deprecated `onSetup` config option
  • Fixed Vimeo seek bug and fullscreen player implementation

Breaking Changes

  • `handlers` option renamed to `listeners`
  • Removed onSetup config option

New Features

  • Added event listeners for all types to the plyr container

Full Release Notes

- `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)