# No display when my processing is enabled for video

**URL:** <https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148>\
**Category:** Libraries\
**Created:** [August 9, 2020, 6:33am UTC](https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148 "2020-08-09T06:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LYY](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@LYY](https://discourse.processing.org/u/LYY)\
**Post date:** [August 9, 2020, 6:33am UTC](https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148/1 "2020-08-09T06:33:13Z")

</div>

import processing.video.\*;  
Movie myMovie;

void setup() {  
size(200, 200);  
myMovie = new Movie(this, “abc.mp4”);  
myMovie.play();  
}

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

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

No error is prompted, the video box is only gray.  
Can someone help me?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 9, 2020, 10:55am UTC](https://discourse.processing.org/t/no-display-when-my-processing-is-enabled-for-video/23148/2 "2020-08-09T10:55:39Z")

</div>

Hello,

Please format your code:  
[https://discourse.processing.org/faq#format-your-code](https://discourse.processing.org/faq#format-your-code)

It works fine with example from here:  
[https://processing.org/reference/libraries/video/Movie\_read\_.html](https://processing.org/reference/libraries/video/Movie_read_.html)

And a movie added to the sketch folder:  
[https://processing.org/reference/libraries/video/Movie.html](https://processing.org/reference/libraries/video/Movie.html)  
I change size() for I can view a larger video.

You can drag and drop a file on to sketch folder to add one.

I did have to wait a few seconds for it to load; try with a small test file.

Working examples with a small audio file:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/ee02edb991cee2c7696a28d960d4edcd46ef9733.png)

`:)`
