Forum Discussion

DaleBoyer's avatar
DaleBoyer
Community Member
2 months ago
Solved

Controlling JavaScript Animation with Payer's Play/Pause button

I've been trying to figure out how to pause and then play a JavaScript animation when the Storyline player's play/pause button is selected. As it is now, if the player is pause the JavaScript animation continues to run. Is there a way to use JavaScript to allow the animation to pause and then pick back up from where it is and continue playing the animation?

  • I was able to figure out the issue I was having. My company uses a custom player and I had to delve into the console and fine the actual ID name for the play/pause button. Once I found that I was able to execute the JavaScript and have it function as I wanted.

1 Reply

  • DaleBoyer's avatar
    DaleBoyer
    Community Member

    I was able to figure out the issue I was having. My company uses a custom player and I had to delve into the console and fine the actual ID name for the play/pause button. Once I found that I was able to execute the JavaScript and have it function as I wanted.