Commit c7a1bcab authored by Alain Pitiot's avatar Alain Pitiot

changed MovieStim units to 'height' and corrected a status

parent cff666b4
......@@ -81,7 +81,7 @@ function experimentInit() {
win: psychoJS.window,
name: 'movie',
movie: 'test.mp4',
units: 'from exp settings',
units: 'height',
pos: [0, 0],
size: undefined,
ori: 0,
......@@ -133,7 +133,7 @@ function trialRoutineEachFrame() {
movie.setAutoDraw(true);
}
if (movie.status === FINISHED) { // force-end the routine
if (movie.status === PsychoJS.Status.FINISHED) { // force-end the routine
continueRoutine = false;
}
// check for quit (typically the Esc key)
......
......@@ -17,7 +17,7 @@ var psychoJS = new PsychoJS({
// open window:
psychoJS.openWindow({
fullscr: true,
fullscr: false,
color: new util.Color([0, 0, 0]),
units: 'height'
});
......@@ -81,7 +81,7 @@ function experimentInit() {
win: psychoJS.window,
name: 'movie',
movie: 'n1.mov',
units: 'from exp settings',
units: 'height',
pos: [0, 0],
size: undefined,
ori: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment