i’m building an interactive splash page at the moment - the user presses ‘play’ and a 110minute audio stream (stored privately on soundcloud) would play.
is there any way to link this audio stream up with timeline actions in hype? the audio stream is of 11 songs, each song would have assets become visible as the stream progressed…
i was trying to use this: Sync animations to Video & Audio but i guess it won’t work on a soundcloud (private) embed - i also looked at the soundcloud js sdk / soundmanager2 linkup but couldn’t get it to work properly- anyone have any experiencee / tips
@jameskoh appreciate the hype document - it’ll come in handy later on!
the issue though i’m having is getting the Soundcloud stream to play properly in the first place. I can embed the html5 widget, have it autoplay and hidden - but i can’t figure out how to control the widget via the various soundcloud API controls
you can substitute the invisible soundcloud stream with the play box and stop box i made.
oh i see what you mean.
you can’t stop the stream with the document i made.
let me spend more time.
*Edit This is for a public track. There is also an SDK from Soundcloud which might be a better fit. But this example shows you the syncing possibilities and the use of Hype elements to control the track.
DBear, would you be able to tell me how to add more than one soundcloud link? I was able to successfully use your technique to play only one track, but if I wanted to have more than one available, how would I do that? I’ve provided a screenshot so you can see what I am doing.
So, in the html widget put in a url using a soundcloud page that has a playlist or more then one track.
"https://w.soundcloud.com/player/?url=***HERE PUT YOUR URL TO A PLAYLIST***&auto_play=false&buying=true&liking=true&download=false&sharing=true&show_artwork=false&show_comments=false&show_playcount=true&show_user=true&hide_related=false&visual=true&start_track=0&callback=true"
Here is an edited copy of your file. I have added the functionality to play one track or the other by giving the widgets unique id’s and then adding another function.
Hi, not sure if anyone will read this after this long but i try my luck.
I did a new player with the help of your instructions. It works perfect by testing localy, on safari and on mobile but it does not work as soon I upload it on my server.
I even uploaded yours to test and it did not work neither. Any idea where the problem could be?
thanks.
I just tried it out and was at least able to play on iOS 14.5 with mobile safari. The only errors I saw in the console were access errors related to the http://ent/web-sourcemaps/api.js-27d0ec1de3c5.map file, which is just for javascript debugging purposes and doesn't affect functionality.
Can you point out what the errors are and the steps you are using to reproduce? also please include your iOS version and device model.