# Property '0' of undefined on second load of same resource

**URL:** <https://discourse.psychopy.org/t/property-0-of-undefined-on-second-load-of-same-resource/22637>\
**Category:** Online experiments\
**Created:** [April 27, 2021, 9:09pm UTC](https://discourse.psychopy.org/t/property-0-of-undefined-on-second-load-of-same-resource/22637 "2021-04-27T21:09:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 27, 2021, 9:46pm UTC](https://discourse.psychopy.org/t/property-0-of-undefined-on-second-load-of-same-resource/22637/2 "2021-04-27T21:46:35Z")

</div>

Would the resource be a video file?

> [@Video stimuli not resetting to beginning in online experiment](https://discourse.psychopy.org/t/video-stimuli-not-resetting-to-beginning-in-online-experiment/10459/13):
>
> Couldn’t you do something like the following…? 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/property-0-of-undefined-on-second-load-of-same-resource/22637)._
