Gulzt
Gulzt

Reputation: 132

soundcloud widget: autoplay not consistantly working in firefox 16

When trying to load a soundcloud widget in an iframe, in Firefox 16 it's not always autoplaying.

I've configured the link as follows:

iframeElement.setAttribute('src','http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19746506&auto_play=true&show_artwork=false');

In Chrome & IE9 the track is always triggered as expected. However, in Firefox 16 slightly over half the time it's not playing automatically.

I'm clueless how to trigger it. What can I do to solve it?

Upvotes: 1

Views: 3039

Answers (1)

nickf
nickf

Reputation: 546253

There's a bug in the underlying Flash component which causes the autoplay feature to behave strangely. It's only happening on Firefox, because it doesn't support MP3 playback with HTML5 audio, so we have to use Flash there. There should be a fix going out next week. You can also use the Widget API to control playback programmatically.

Upvotes: 1

Related Questions