javascript - Why might my custom soundcloud player not make sound on an iPhone -
i have testing area here: http://codepen.io/sheriffderek/pen/rpbpqz
besides needing bunch of js refactoring, i've been playing api, i'm happy going on.
it works great in codepen on laptop, on phone, silent.
it's not auto play. click event.
i've tried in debug mode --- , few other codepen options... in case it's origin thing... ideas? code basic stuff, think it's else.
sc.stream("/tracks/293", function(sound){ sound.play(); });
i had similar problem custom player developing. work on desktop, on mobile wouldn't play on first click. play when paused , pressed play again.
i trying run debugmode see difference between desktop , mobile. couldn't debugmode work, without linking soundmanager js well. added player worked on mobile too.
not sure root issue was, seems need load soundmanager js along soundcloud sdk , of functionality. doesn't bottom of it, hope helps.
Comments
Post a Comment