- 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.
This commit is contained in:
Sam Potts
2021-04-18 17:49:23 +10:00
parent 7d22c361d1
commit e1ff86820c
6 changed files with 13 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "plyr",
"version": "3.6.5",
"version": "3.6.6",
"description": "A simple, accessible and customizable HTML5, YouTube and Vimeo media player",
"homepage": "https://plyr.io",
"author": "Sam Potts <sam@potts.es>",