#iframe not work

6 messages · Page 1 of 1 (latest)

jolly bane
#

im trying to add iframe to my website but it doesnt work, pls help me

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/{{activity.sync_id}}?utm_source=generator&theme=0" width="358" height="80" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
#

when i try the normal way it works fine

<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/3OXPEU3MLoJTWQmozs4IVc?utm_source=generator&theme=0" width="358" height="80" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
young tree
#

the interpolation and binding in this case dont work unless you bypass the security or sanitize the url previous...

jolly bane
young tree
#

please read this part of the angular docs