Spotify embed not rendering when published[Bug report] #1804
-
Operating systemWindows 11 Publii versionVersion: 0.46.2 (build 16968) Issue typeApplication Bug descriptionWriting a new page post, using custom HTML I use Spotify generated iFrame code and in the WYSIWIG editor the embed appears and works. In a preview and when the site is published, the Spotify widget does not appear. There are no related errors in the console and checked hosting for blocked mixed content or similar. (A blank HTML page with the code works fine, just not through Publii). I can't see anything in the Publii documentation or online that suggests blocking iFrames or javascript, so assume there's a bug somewhere here. Steps to reproduce
Relevant log outputNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try adding the So it would look like this: <iframe
data-responsive="false"
style="border-radius:12px"
src="https://open.spotify.com/embed/album/2lIZef4lzdvZkiiCzvPKj7?utm_source=generator"
width="100%"
height="352"
frameBorder="0"
allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
loading="lazy">
</iframe> Similar issues: |
Beta Was this translation helpful? Give feedback.
Try adding the
data-responsive="false"
attribute inside the<iframe>
tag (docs ref)So it would look like this:
Similar issues: