We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45378b commit 51b0824Copy full SHA for 51b0824
psychopy/experiment/components/movie/__init__.py
@@ -162,6 +162,8 @@ def writeInitCodeJS(self, buff):
162
163
inits = getInitVals(self.params)
164
noAudio = '{}'.format(inits['No audio'].val).lower()
165
+ loop = '{}'.format(inits['loop'].val).lower()
166
+
167
for param in inits:
168
if inits[param] in ['', None, 'None', 'none']:
169
inits[param] = 'undefined'
@@ -186,7 +188,7 @@ def writeInitCodeJS(self, buff):
186
188
pos=inits['pos'],
187
189
size=inits['size'],
190
ori=inits['ori'],
- loop=inits['loop'],
191
+ loop=loop,
192
opacity=inits['opacity'],
193
noAudio=noAudio)
194
buff.writeIndentedLines(code)
0 commit comments