mjmyers Posted March 15, 2023 Share Posted March 15, 2023 hi, I have a client i am working with and I added a code block to start music on the landing page but it doesnt play. It only plays on preview this is the code block ```<style><iframe width="100%" height="0" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/1543292704&color=%23ff5500&auto_play=true&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe><style>``` Link to comment
pentool Posted March 16, 2023 Share Posted March 16, 2023 (edited) Your embed code is wrong. First of all, what is the <style> tag doing in there? Second, when I use an embed code from SoundCloud, it actually embeds the song image and play controls and it works just fine. Yours doesn't show anything even if I remove the <style> tags. I suggest you review the embed code and make sure it's correct. Edited March 16, 2023 by pentool Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment