You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing with Amplitude and i'm facing a problem: I need a function to stop the player.
Can't find anything in the documentation about it.
I've found this info in the code Amplitude.stop(); but it's not functional : TypeError: Amplitude.stop is not a function
Could you please tell me how to stop the player (stop playing if active, clear playlist, disconnect live stream) ?
Thank you
The text was updated successfully, but these errors were encountered:
To complete my request:
I'm loading distants songs dynamicaly via an Ajax request. When the player is active (songs loaded) and I want to load and play an other album, the 2 lists are playing simultanously...
That's why I wanted to stop the player before loading the new album/songs list.
I had similar issue, using Amplitude.pause() helped (#184). Though I would suggest using Amplitude.addPlaylist( key, data, songs) - won't need to use pause function and previous lists will be stored.
Same issue for me, the Amplitude.stop() function is not working (TypeError: Amplitude.stop is not a function) and i can't execute the 'stop' callback.
If i use Amplitude.pause() , the live streaming is stopping but when i try to execute the pause callback, in the browser console i read: Invalid URI. Load of media resource failed.
Hi and happy new year all!
I'm playing with Amplitude and i'm facing a problem: I need a function to stop the player.
Can't find anything in the documentation about it.
I've found this info in the code
Amplitude.stop();
but it's not functional :TypeError: Amplitude.stop is not a function
Could you please tell me how to stop the player (stop playing if active, clear playlist, disconnect live stream) ?
Thank you
The text was updated successfully, but these errors were encountered: