# Video loading problem

**URL:** <https://discourse.processing.org/t/video-loading-problem/33062>\
**Category:** Libraries\
**Created:** [October 25, 2021, 3:27pm UTC](https://discourse.processing.org/t/video-loading-problem/33062 "2021-10-25T15:27:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rayenblue](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rayenblue](https://discourse.processing.org/u/Rayenblue)\
**Post date:** [October 25, 2021, 3:27pm UTC](https://discourse.processing.org/t/video-loading-problem/33062/1 "2021-10-25T15:27:13Z")

</div>

Hello everyone , i try to load a video in processing but i have the loading’s message erreur.

```auto
import processing.video.*;

Movie video;

void setup() {
  size(600, 400);
  video = new Movie(this,"intro.quizz");
  video.loop();
}

void movieEvent(Movie video) {
  video.read();
}

void draw()
{
  image(video,0,0);
}

```

I create a fil name “data” and put the video inside. Thank for your time

 ![Capture](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f53c263a5fa7bbe89c914837682bb91d36153ca7.png)

---

<div class="post-metadata">

**Author:** ![BrendanL](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/brendanl/32/14076_2.png) [@BrendanL](https://discourse.processing.org/u/BrendanL)\
**Post date:** [October 25, 2021, 4:11pm UTC](https://discourse.processing.org/t/video-loading-problem/33062/2 "2021-10-25T16:11:29Z")

</div>

First, you need to include the “data” directory in the file name so you would open something like “data/intro.quizz”.

Second, are you sure the extension is “.quizz”? Windows hides file extensions by default so your file might actually be named something like, “intro.quizz.mpg”. You can find out by right clicking on the video file and selecting properties from the menu.

---

<div class="post-metadata">

**Author:** ![Rayenblue](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rayenblue](https://discourse.processing.org/u/Rayenblue)\
**Post date:** [October 25, 2021, 6:33pm UTC](https://discourse.processing.org/t/video-loading-problem/33062/3 "2021-10-25T18:33:54Z")

</div>

I didn’t understand what you write at first but i change the of video , for including the type on my program.

 ![Capture](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a3cd8e5ab8698c2bfec712f2209e8fc7a108e498.png)  
 ![Capture 2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/d9bbdd47d8281621fcbdf53c416952cc440d42cd.png)

Thank you for your time .
