- Issue created by @pianomansam
- @pianomansam opened merge request.
- Status changed to Needs review
11 months ago 8:17pm 11 August 2023 - First commit to issue fork.
- πΊπΈUnited States nsciacca Connecticut
Thanks for this! I added a couple other parameters for YouTube when it's used as background image to suppress the controls, set the loop and a playlist param so it continues to play.
- π¦π²Armenia le72 Yerevan π¦π²
Applied the patch, but the background YouTube video is still not autoplay :-(
Using Drupal core 10.2.3 with Media oEmbed Control 2.0.0-beta3. - π¦π²Armenia le72 Yerevan π¦π²
The problem is in HTML::load(), HTML::saveHTML().
The "allowfullscreen" attribute becomes allowfullscreen="" and farther replacement doesn't work. - πͺπΈSpain ipitbiz
I've added a small change to make the patch work, although I'd like to have it reviewed in case anyone has a better solution.