videoControl(what command)

From pinHeck Wiki
Revision as of 21:15, 21 September 2014 by Benheck (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Single steps a video that that has its Manual Step attribute bit set.

Currently the only command is "6" which means single step forward.

Example:

video('V', '1', '0' + random(5), manualStep, 0, 255); //Start a video with manual step control

if (userInput) {

   videoControl(6);                                    //Advance the video 1 frame upon some sort of input

}