要访问SoundCloud上公共流,您可以遵循以下步骤:
此外,您还可以使用SoundCloud网站提供的嵌入式播放器将音乐嵌入到自己的网站或博客中。只需将以下代码添加到您的HTML中:
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/YOUR_TRACK_ID&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
将其中的 YOUR_TRACK_ID
替换为您要嵌入的音乐的ID。您可以在SoundCloud音频播放页面找到音频ID。
领取专属 10元无门槛券
手把手带您无忧上云