My widget is set up like this:
<iframe width='100%' height='20' scrolling='no' frameborder='no' src='https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/540841578&color==%23161616&auto_play=false&hide_related=false&show_comments=false&inverse=false&auto_play=false&show_user=false&show_reposts=false&show_teaser=false&classic=true'></iframe><div id='soundcloud-embed' style='position:absolute; top:-70px; display:block; text-align:center; z-index:-1;'><a href='https://www.youtubevideoembed.com/faqs/'>How do I add a Youtube Video to Tumblr</a></div><div></div>
I don't want the auto play. But every time page loads, it does auto play. How can I prevent the audio from autoplaying?
答案 0 :(得分:0)
您在URL中错误地使用了两个auto_play=false
参数。删除一个:
<iframe width='100%' height='20' scrolling='no' frameborder='no' src='https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/540841578&color==%23161616&hide_related=false&show_comments=false&inverse=false&auto_play=false&show_user=false&show_reposts=false&show_teaser=false&classic=true'></iframe>