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'...")
 
 
Line 7: Line 7:
 
video('V', '1', '0' + random(5), manualStep, 0, 255);  //Start a video with manual step control
 
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
    videoControl(6);                                   //Advance the video 1 frame upon some sort of input
+
}
+

Latest 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

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