Soundcloud嵌入式HTML theme_color选项不起作用

问题描述 投票:1回答:1

我将Soundcloud HTML代码嵌入到网页中以显示音频播放器。在Mac上的Safari 5.1.4中预览并在我的iPhone应用程序中运行webview(其行为应与Safari相同),嵌入参数“theme_color”不起作用。

EG

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/44200324&auto_play=true&color=915f33&theme_color=00FF00"></iframe>

有谁知道为什么或解决方法?我希望能够将玩家的主要外观从灰色“色彩化”到另一种颜色。

html embed soundcloud
1个回答
0
投票

您可以使用flash对象使用自定义颜色:

<object height="81" width="100%"> 
    <param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F32678080&amp;show_comments=true&amp;auto_play=false&amp;color=00cc00&amp;theme_color=111111"></param> 
    <param name="allowscriptaccess" value="always"></param> 
    <embed allowscriptaccess="always" height="81" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F32678080&amp;show_comments=true&amp;auto_play=false&amp;color=00cc00&amp;theme_color=111111" type="application/x-shockwave-flash" width="100%"></embed> 
</object>

有关可用参数的列表,请查看:http://developers.soundcloud.com/docs/widget

© www.soinside.com 2019 - 2024. All rights reserved.