Closed timmyg closed 6 years ago
Thank you for the kind words!
Here's how I'm doing it:
AMAZON.PauseIntent
, I save the offset of the current song to the database, e.g. like so: app.user().data.offset = audioPlayer.getOffsetInMilliseconds();
AMAZON.ResumeIntent
, I use setOffsetInMilliseconds(app.user().data.offset)
before calling play
Does this help?
Actually - may have figured it out - would I just use the setOffsetInMilliseconds and play it again?
Yes!
yep this worked for me. thanks 👍
First off - LOVE this framework and what you're doing with it - hoping I can contribute.
I am playing a song with
which works great, but my app got declined because I need to handle the Pause and Resume amazon intents. Below is how I am pausing:
Is there a current way to resume? Am looking through audioPlayer.js and not seeing anything.
Thanks!