0 Votes

Changes for page Pro White Music

Last modified by XWikiGuest on 2025/05/07 09:35

From version 6.1
edited by Ryan C
on 2025/03/15 22:53
Change comment: There is no comment for this version
To version 4.1
edited by Ryan C
on 2025/03/15 22:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,16 +1,17 @@
1 1  {{html}}
2 -<iframe
3 - style="
4 - border-radius: 12px;
5 - width: 100%;
6 - height: 352px;
7 - border: none;
8 - "
9 - src="https://open.spotify.com/embed/playlist/0e8guQffSLf0AD7SayyGpc?utm_source=generator&theme=0"
10 - allowfullscreen=""
11 - allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
12 - loading="lazy"
13 -></iframe>
14 -{{/html}}
2 +<script src="https://open.spotify.com/embed/iframe-api/v1" async></script>
15 15  
4 +<div id="embed-iframe"></div>
16 16  
6 +<script>
7 + window.onSpotifyIframeApiReady = (IFrameAPI) => {
8 + let element = document.getElementById("embed-iframe");
9 + let options = {
10 + uri: "spotify:playlist:0e8guQffSLf0AD7SayyGpc",
11 + };
12 + let callback = (EmbedController) => {};
13 + IFrameAPI.createController(element, options, callback);
14 + };
15 +</script>
16 +{{/html}}
17 +