Permalink
Browse files

changed video playback to loop (TODO: should be a parameter)

  • Loading branch information...
1 parent e3fdfff commit f0c2cd053cc06d3dadd7954d02918044e7be6d83 @offtools committed Aug 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 videotexture.py
View
@@ -61,6 +61,9 @@ def source(self, file):
# -- scale the video
self.video.source.scale = True
+ # --- loop video
+ self.video.source.repeat=-1
+
# -- play the video
self.state = 'PLAY'

0 comments on commit f0c2cd0

Please sign in to comment.