我已经通过iframe在我的网站上嵌入了一个soundcloud播放器。我想知道是否有可能在iframe中编辑css并更改背景颜色?
iFrame链接:
<iframe width =“100%”height =“450”scrolling =“no”frameborder =“no”allow =“autoplay”src =“https://w.soundcloud.com/player/?> url = https%3A //api.soundcloud.com/playlists/666712575%3Fsecret_token%3Ds-z7Zki&color=7b5cff&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&“visual =”false“”“>
不可能,您只能在iframe内编辑css,如果它与父文档在同一个域中。