lazysizes
lazysizes copied to clipboard
Fixing embed video autoplay fix + video size flexibility
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"
intoiframe
tag to enable this. - Setting
width
andheight
to 100% gives more control overiframe
's sizes, by changing its container's properties.
Hey @aFarkas, any updates on this?