| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### loadVideo()
Examples |  |
    BVideo vid;

    void setup()
    {
      // Load and play the video in a loop
      vid = loadVideo("street.mov");
      repeat(vid);
    }

    void loop()
    {
      // Draws the video at position [0,0]
      image(vid, 0, 0);
    }
Description |  | Loads a video into a variable of type BVideo. Only quicktime movies may be loaded. To load correctly, videos must be located in the data directory of the current sketch.
Syntax |  |
    loadVideo(filename)
Parameters |  |
filename |  | String: name of file to load, must be a quicktime movie
Returns |  | BVideo
Usage |  | Application
Related |  | BVideo play() stop() repeat() pause()

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |