We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Could you create a callback at the end of the song? Is it possible to desactivate the auto next song at the end of a song.
My problem : The user have a choice to make at the end of the song to choose the next song. Thereforce i need to pause the song at 95% of the song...
Thank you :) Great work.
Cheers.
The text was updated successfully, but these errors were encountered:
https://521dimensions.com/open-source/amplitudejs/docs#get-song-played-percentage-(version-3-2)
Amplitude.getSongPlayedPercentage(); Will give you the percentage.
Sorry, something went wrong.
If you combine what @chromahoen recommended with the getSongPlayedPercentage and add a time_updated callback method https://521dimensions.com/open-source/amplitudejs/docs#callbacks you can wait until the percentage is 95%. Then run what you need to run. If that's a pause, then Amplitude.pause()
No branches or pull requests
Hello,
Could you create a callback at the end of the song?
Is it possible to desactivate the auto next song at the end of a song.
My problem :
The user have a choice to make at the end of the song to choose the next song. Thereforce i need to pause the song at 95% of the song...
Thank you :)
Great work.
Cheers.
The text was updated successfully, but these errors were encountered: