v1.8.0
sampotts/plyrv1.8.0Jun 9, 2016by sampotts
AI Summary
API change to support frameworks like React by modifying the return value of the `setup()` method.
Key Highlights
- `setup()` now returns the element instead of the plyr object.
- Fixed using a relative URL for `iconUrl` in Internet Explorer.
Breaking Changes
- `setup()` now returns the element rather than the `plyr` object, which improves support for React and other virtual DOM frameworks.
New Features
- Improved support for React and other virtual DOM frameworks.
Full Release Notes
- **_(Important)**_ `setup()` now returns the element Plyr was setup on rather than the `plyr` object. This means `var player = plyr.setup()[0];` would now be `var player = plyr.setup()[0].plyr;`. This improves support for React and other virtual dom frameworks as mentioned in #254 - Fixed using a relative URL for `iconUrl` in IE (fixes #269)