v1.5.0

sampotts/plyrv1.5.0Jan 16, 2016by sampotts

AI Summary

This release introduces significant architectural improvements including the adoption of BEM methodology, decoupling CSS and JS hooks, and new initialization options, alongside the addition of Vimeo support.

Key Highlights

  • Adoption of BEM methodology requiring CSS and HTML updates
  • Decoupled CSS and JS hooks
  • New initialization options supporting selectors, HTMLElement, and NodeList
  • Vimeo support added

Breaking Changes

  • Switched to BEM methodology
  • Decoupled CSS and JS hooks

New Features

  • Vimeo support
  • New options for initialization
  • Custom controls container
  • Specify iframe title for Vimeo and YouTube
  • Better handling of mission controls
  • Retain classname on source change
  • Ability to add custom handlers to controls prior to Plyr bindings
  • Keyboard navigation improvements

Full Release Notes

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