New SoundCloud HTML5 widget animation on track finish

会有一股神秘感。 提交于 2020-01-06 07:54:37

问题


The new update for the html5 widget has added an animation at the end that hides the waveform and shows sharing options and embed codes.

This breaks the effect that was desired in one of my clients sites that relies on the widget as its audio engine.

Is there a way to stop this animation or revert back to the older widget as it worked fine as it was.

The site is http://www.bushytunes.net

Play a track, skip to the end as see for yourself.

Thanks, James

-------UPDATE-------

On messing around with the iframes css in chrome web inspector, ive come across the .sound__sharePanel DOM element, all i require is the simple option to add display: none to this and the problem will be fixed.

I do belive i am passing a false boolean to the sharing paramater when loading the player iframe. Shouldn't this handle hiding the element as the api docs state that this parameter will 'Show/hide share buttons/dialogues.'

来源:https://stackoverflow.com/questions/13404731/new-soundcloud-html5-widget-animation-on-track-finish

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!