Embed Code does not work anymore

Hi there,
I discovered that since the update (I think for the Web Player or the Publisher, not sure), the embed code is not working anymore. My episodes are embedded on the website of the DDR Museum and the last one still works:


This is the embed code:
<p><iframe frameborder="0" height="290" scrolling="no" src="https://cdn.podlove.org/web-player/share.html?episode=https%3A%2F%2Fwww.staatsbuergerkunde-podcast.de%2F%3Fpodlove_player4%3D753" tabindex="0" title="Podlove Web Player: Staatsbürgerkunde - Auf Augenhöhe" width="768"></iframe></p>

The newest episode is not working I’m told. This is the new embed code from the player:
<iframe title="Podlove Web Player: Staatsbürgerkunde - Eingesammelt" height="200" src="https://www.staatsbuergerkunde-podcast.de/wp-content/plugins/podlove-web-player/web-player/share.html?config=https%3A%2F%2Fwww.staatsbuergerkunde-podcast.de%2Fwp-json%2Fpodlove-web-player%2Fshortcode%2Fconfig%2Fsbk%2Ftheme%2Fsbk%2Fshow%2Fdefault&episode=https%3A%2F%2Fwww.staatsbuergerkunde-podcast.de%2Fwp-json%2Fpodlove-web-player%2Fshortcode%2Fpublisher%2F2300" frameborder="0" scrolling="no" tabindex="0"></iframe>

Can you help? :wink:
Thanks!

My guess is that staatsbuergerkunde-podcast.de doesn’t set the correct X-Frame Header to allow other websites to embed the iframe. There are plugins out there that should do that but as with every plugin you should be cautious since it might have an impact on other functionalities. The other option is to use the CDN:

<iframe title="Podlove Web Player: Staatsbürgerkunde - Eingesammelt" height="200" src="https://cdn.podlove.org/web-player/5.x/share.html?config=https%3A%2F%2Fwww.staatsbuergerkunde-podcast.de%2Fwp-json%2Fpodlove-web-player%2Fshortcode%2Fconfig%2Fsbk%2Ftheme%2Fsbk%2Fshow%2Fdefault&episode=https%3A%2F%2Fwww.staatsbuergerkunde-podcast.de%2Fwp-json%2Fpodlove-web-player%2Fshortcode%2Fpublisher%2F2300" frameborder="0" scrolling="no" tabindex="0"></iframe>

Hi @zusatzstoff, thanks for your help – is there I way I could generate those CDN-embeds by myself? Until last time (in June) I think I always got a CDN-embed code back when sharing the web player.

Sure, you can replace https://www.staatsbuergerkunde-podcast.de/wp-content/plugins/podlove-web-player/web-player/share.html with https://cdn.podlove.org/web-player/5.x/share.html

1 Like