Difference between revisions of "videoControl(what command)"

From pinHeck Wiki
Jump to: navigation, search
(Created page with "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'...")
(No difference)

Revision as of 21:15, 21 September 2014

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

}