Zum Hauptinhalt springen

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

Veröffentlicht in ‘EasyBlog’
Dies ist ein öffentliches Ticket

Jeder kann den Inhalt sehen. Geben Sie keine Benutzernamen, Passwörter oder andere sensible Informationen ein.

Letzter Beitrag von CreativeGraphics Support am Donnerstag, 04. Juni 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://www.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

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.