Skip to main content

#288 Minor Bug / Console Warning: Redundant 'allowfullscreen' attribute in Spotify Embed Block

Posted in ‘EasyBlog’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by CreativeGraphics Support on Thursday, 04 June 2026 18:38 UTC

basfas

hi,

I've noticed a minor code redundancy when using the Spotify embed block in the EasyBlog editor. The generated <iframe> code includes both the legacy allowfullscreen attribute and the modern allow="... fullscreen ..." attribute at the same time.

The Observation (Console Warning): Because of this redundancy, modern browsers like Chrome output the following warning in the developer console: Allow attribute will take precedence over 'allowfullscreen'.

Here is the exact HTML output generated by the EasyBlog block:

<iframe style="border-radius: 12px" width="100%" height="152" title="Spotify Embed: [Title]" frameborder="0" allowfullscreen allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy" src="https://support.creative-graphics.ch/..."></iframe>

To clean up the console output for developers and adhere to modern HTML standards, I suggest removing the standalone allowfullscreen attribute from the iframe templates of media blocks (such as Spotify, YouTube, etc.), as the allow attribute already handles the fullscreen permission perfectly.

Thank you!

CreativeGraphics Support

$block->data->embed is the raw oEmbed HTML fetched from Spotify's API — it ships with both attributes.
We strip allowfullscreen in getHtml() before returning.

Will be included in the upcoming release.

Thanks for reporting.

Best regards, Pascal