Hi, I've started working a bit with Viewer API and would really like control over the animation. So I wanted to support this request with more than a !
My API suggestions:
For the following, if using "frames" doesn't make sense, then time in seconds would be okay.
api.setAnimationFrame(frame) // jump to frame number. Could be used for a 'rewind' button or for skipping to start of a particular sequence.
api.getAnimationFrame() // retrieve the current frame number or something similar if using time
api.getAnimationLength() or getAnimationDuration() // return total frame count or total playtime in seconds
api.setAnimationRate( multiplier ) // 0.5 half speed, 1 normal, 2 double speed
Also add ui_animations: [0|1 to viewer/embed settings. So the UI overlay can be toggled. If you're going to have all those API things, developers will also want to replace the player UI, so being able turn it off is a good start.
Tip: Have a peak at the youtube iframe API to get an idea what they offer. https://developers.google.com/youtube/iframe_api_reference
Cheers, Andrew | Western Sydney University