Sound and Animation
If the webpage has any sound or animation, these should be paused when the page is loading.
The following functions should be exposed as global Javascript functions:
- Play – Called when the web page is shown by the player. The page should start its animations and play its sounds.
- Pause – Called when the player needs to interrupt playback. The page should pause its animations and sounds, and wait for a Play call to resume.
The player can be instructed to skip the spot entirely and provide diagnostics information for why that spot was skipped.