声音云播放器中的权限被拒绝

Permission Denied in sound cloud player

这是我的代码:

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/101728459&amp;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false"></iframe>

但是当我播放声音时,曲目正在播放但我无法停止这首歌。当我检查控制台时,它出现了。

Exception: Error: Permission denied to access property "toString"

看起来不像是嵌入式播放器的问题,但很可能是本地问题。尝试使用其他浏览器或重置 cookies/cache 并重试。

以下是嵌入式 SoundCloud Player 可以使用的参数:

color=(hex code without #, like 33ff00) for play button and other controls

theme_color=(hex code without #, like 33ff00) for player background etc.

auto_play=true/false

show_artwork=true/false

show_playcount=true/false

show_bpm=true/false

show_comments=true/false

text_buy_track = string (e.g. ‘Tweet’ and it points to your ‘buy’ link)

text_buy_set = string (e.g. ‘Tweet’ and it points to your ‘buy’ link)

text_download_track = string (e.g. ‘Get it’ and it points to your ‘download’ link)

buying = true/false (show hide buy buttons)

sharing = true/false (show hide share buttons)

download = true/false (show hide download buttons)

show_bpm = true/false (show hide bpm display in player)

show_playcount = true/false (show hide number of track plays)

start_track = (a number from 0 to the playlist length) preselects a track in a playlist

default_width = (a number e.g. 400) overrides the player’s autoscale, useful when embedding in other flash movies

default_height = (a number e.g. 500) overrides the player’s autoscale, useful when embedding in other flash movies

font = (a string e.g. Arial) overrides the default font with system font

enable_api = true/false (enable JS api callbacks, please refer to http://wiki.github.com/soundcloud/Widget-JS-API/ for docs)

single_active = true/false (if set to false the multiple players on the page won’t toggle each other off when playing)

show_user = true/false (show or hide the uploader name, useful e.g. in tiny players to save space)

如果清除 cache/cookies 失败,请尝试使用上面的一些参数。

正在使用哪个浏览器?浏览器的版本是什么? 尝试将 ?html5=1 添加到您的嵌入 URL.