lazysizes icon indicating copy to clipboard operation
lazysizes copied to clipboard

Fixing embed video autoplay fix + video size flexibility

Open otanim opened this issue 2 years ago • 1 comments

The issues:

  • Currently, embed lazy-load videos are not auto-playing on the Chrome browser since 2018 when Autoplay policies have changed. Now you have to make sure to add allow="autoplay" into iframe tag to enable this.
  • Setting width and height to 100% gives more control over iframe's sizes, by changing its container's properties.

otanim avatar Apr 25 '22 10:04 otanim

Hey @aFarkas, any updates on this?

otanim avatar Jul 25 '22 08:07 otanim