# Video stimuli not resetting to beginning in online experiment

**URL:** <https://discourse.psychopy.org/t/video-stimuli-not-resetting-to-beginning-in-online-experiment/10459>\
**Category:** Online experiments\
**Created:** [January 6, 2020, 4:25pm UTC](https://discourse.psychopy.org/t/video-stimuli-not-resetting-to-beginning-in-online-experiment/10459 "2020-01-06T16:25:09Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [May 4, 2020, 5:50am UTC](https://discourse.psychopy.org/t/video-stimuli-not-resetting-to-beginning-in-online-experiment/10459/13 "2020-05-04T05:50:09Z")

</div>

Couldn’t you do something like the following…?

```auto
Begin Routine
moviestarted=0

Each Frame
if t > .5 and moviestarted == 0:
     moviestarted = t
     myMovie.play()

End Routine
myMovie.stop()
myMovie.seek(0)

```

Best wishes,

Wakefield

---

_[View the full topic](https://discourse.psychopy.org/t/video-stimuli-not-resetting-to-beginning-in-online-experiment/10459)._
