v3.6.6

sampotts/plyrv3.6.6Apr 18, 2021by sampotts

AI Summary

Performance and visual fix release regarding aspect ratio rendering and YouTube poster images.

Key Highlights

  • Switched to CSS `aspect-ratio` property and rounded auto-detected ratios.
  • Fixed black bars appearing on YouTube embeds.
  • Hide the YouTube poster image container when paused.

Full Release Notes

- Improvements to how aspect ratio is handled. Use `aspect-ratio` CSS property instead of the legacy method (still used as fallback). Also automatically determined aspect ratios are rounded to the nearast standard ratio. This fixes issues with the YouTube embeds showing a 1-2px black bar.
- Hide the YouTube poster image container when paused so that the controls underneath can be used.