v1.5.12

sampotts/plyrv1.5.12Feb 21, 2016by sampotts

AI Summary

This release introduces configuration flexibility via a `data-plyr` attribute and a duration option, alongside critical bug fixes for caption rendering and browser compatibility.

Key Highlights

  • Added 'duration' option to pass file duration
  • Added data-plyr attribute for per-element options
  • Fixed caption rendering in Chrome and Safari
  • Fixed Firefox event undefined bug

New Features

  • Duration option
  • data-plyr attribute
  • Caption rendering fixes
  • Firefox event fix

Full Release Notes

- Added a `duration` option to pass the duration of the file
- Added the ability to set options per element by setting a `data-plyr` attribute on the target elements (this might be useful for the `duration` option for example)
- Fixes for Chrome and Safari caption rendering, they now use the default texttrack and `cuechange` events
- Firefox bug fix for `event not defined`