# Videos don't loop on Pavlovia

**URL:** https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577
**Category:** Online experiments
**Created:** [December 2, 2020, 10:12am UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577 "2020-12-02T10:12:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![pavle](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/pavle/32/8641_2.png) [@pavle](https://discourse.psychopy.org/u/pavle)
#### Post date: [December 2, 2020, 10:12am UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577/1 "2020-12-02T10:12:10Z")

</div>

URL of experiment:

Description of the problem:  
Hi! I am having issues with getting my videos to loop in Pavlovia. I ticked the option to loop playback in the component view but this doesn’t do anything. I also tried with reset() method:

```auto
if movie.status == FINISHED:
    movie.reset()

```

This only makes it play for a second time because then Pavlovia doesn’t switch movie.status to FINISHED but rather it leaves it as STARTED. So, my problem here is how to ‘catch’ when the video is finished so that I can successfully implement .reset() method. There must be a way because after it playes for two times, if I exit the fullscreen, it plays for another time. This could mean that I have to access the .draw method, but I am not sure how to do this.  
Thanks everybody!

---

<div class="post-metadata">

### Author: ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)
#### Post date: [December 3, 2020, 9:52pm UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577/2 "2020-12-03T21:52:46Z")

</div>

Hi There,

Please can I check what version of psychopy you are using? I know this was a bug in a previous release but I think this was fixed more recently.

Thanks,  
Becca

---

<div class="post-metadata">

### Author: ![pavle](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/pavle/32/8641_2.png) [@pavle](https://discourse.psychopy.org/u/pavle)
#### Post date: [December 8, 2020, 9:35am UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577/3 "2020-12-08T09:35:43Z")

</div>

Hi @Becca! Thanks for your reply. I actually use the latest version, I try to update regularly.

---

<div class="post-metadata">

### Author: ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)
#### Post date: [December 10, 2020, 8:18pm UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577/4 "2020-12-10T20:18:20Z")

</div>

Hi There!

Ok brilliant! in that case please can you share a minimally working demo of the issue you are having.

Out of interest what happens if you have your movie inside a loop without the loop playback option selected, does the movie restart successfully?

Thanks,  
Becca

---

<div class="post-metadata">

### Author: ![sotiri](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@sotiri](https://discourse.psychopy.org/u/sotiri)
#### Post date: [December 11, 2020, 1:17am UTC](https://discourse.psychopy.org/t/videos-dont-loop-on-pavlovia/18577/5 "2020-12-11T01:17:35Z")

</div>

Dear @pavle, [a fix is on the way](https://github.com/psychopy/psychojs/pull/236), thanks for flagging, x
