Help incorporating videos in code!


Author
Message
fm323
fm323
Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)Associate Member (278 reputation)
Group: Forum Members
Posts: 21, Visits: 62
Dave - 11/9/2020
fm323 - 11/8/2020
Dave - 11/5/2020
fm323 - 11/5/2020
Dave - 11/5/2020
fm323 - 11/5/2020
I'm using the Balloon Analogue Risk Task, the script I have is attached. I would like for the participant to view the first clip after reading the instructions but before starting the trials. Then, after trial 5, a specific video clip is played. Also after trial 10, 15, 20 and 25. Each video is different to the last.  Let me know if there's any more information I can provide. Thanks so much!

So there are five different videos? Are these supposed to be sampled randomly or in some specific order? Are participants supposed to respond to these videos in any way or just passively watch them, with the script just moving on automatically after each clip? Please be precise, your description is still exceedingly vague. Moreover, the script you attached does not contain any provisions at all regarding the videos, not even the names of the respective video files. Provide those, please.

These clips are different to each other and are supposed to be watched in order (1-6). The script should move on automatically after each clip has ended, and the video may not be skipped. Participants do not need to respond in any way, just carry on with the study. I can't seem to attach the video clips here, but the file names are as follows; "1.mov", "2.mov", "3.mov", "4.mov", "5.mov" and "6.mov"

See attached.

When I try to run the experiment, an error message comes up: "'trial.showvideo' Expression contains an invalid identifier" for the element "trial.collect". What can I do to fix this?

Thanks so much for your help Dave, you're saving me right now!

The script works fine and shows no such error under the current Inquisit 6 release. That is what you ought to be using.

Yes, just needed to update! Again, thank you Dave.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search