v3.5.4
sampotts/plyrv3.5.4Apr 25, 2019by sampotts
AI Summary
Adds a setter for download URLs, allows reordering controls in the DOM, supports automatic YouTube aspect ratios, and fixes menu issues in Shadow DOM.
Key Highlights
- Added: Set download URL via new setter
- Controls option now effects the order in the DOM
- Automatic aspect ratio for YouTube
- Fix for menu in the Shadow DOM
Breaking Changes
- The order of the `controls` option now effects the order in the DOM, which may break any custom CSS you have setup.
New Features
- Download URL setter
Full Release Notes
- Added: Set download URL via new setter - Improvement: The order of the `controls` option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default SASS - Fixed issue with empty controls and preview thumbs - Fixed issue with setGutter call (from Sentry) - Fixed issue with initial selected speed not working - Added notes on `autoplay` config option and browser compatibility - Fixed issue with ads volume not matching current content volume - Fixed race condition where ads were loading during source change - Improvement: Automatic aspect ratio for YouTube is now supported, meaning all aspect ratios are set based on media content - Note: we're now using a different API to get YouTube video metadata so you may need to adjust any CSPs you have setup - Fix for menu in the Shadow DOM (thanks @emielbeinema)