|
Post by MC on Feb 7, 2020 21:18:40 GMT
Hi, I would like to create a simple experiment that just shows short video clips in randomized order. I've tried to program it similar to bitmap but it says 'show video' function is not implemented in javascript. I tried just based on a sample script and replaced bitmap with videos.
videos
after
task simpletask
keys space
delay 100
show video after
readkey 1 1000
clear 1
save STATUS RT
block firstblock
tasklist
simpletask 10
end
any suggestion?
|
|
|
Post by PsyToolkit on Feb 10, 2020 15:05:59 GMT
Hi,
Currently this cannot be done (no gif support).
Best,
Gijsbert Stoet
|
|
|
Post by Angelika Kern on Jun 2, 2020 11:17:39 GMT
Hi,
I have the same problem so I wanted to inquire if there have been any changes regarding video presentation in experiments...?
Best wishes, Angelika Kern
|
|
|
Post by PsyToolkit on Jun 2, 2020 21:33:09 GMT
I am glad you ask, because this is almost possible.
This functionality is working in the current test version, and will be released in the next version.
You will be able to show videos in your experiment.
All videos need to be uploaded externally (Google Drive is recommended, because it works efficiently) and then PsyToolkit can load it from the Google drive and show in your experiment as if it is a regular stimulus.
I am currently doing some final testing and plan to release the next version within the next two weeks already.
|
|
|
Post by Moritz Jakob on Jun 29, 2020 11:21:19 GMT
Hi,
thank you MC and Angelika for asking these questions (and of course thank you Gijsbert for your answers!!). Me and a team of other students are currently trying to set up an experiment that would greatly benefit from this feature.
Gijsberts answers sound very promising! I just have two short additional questions:
1. In your earlier answer to MCs post you mentioned "no gif support". Will it be possible to display these videos with sound, too? Or would one have to embed a soundfile separately?
2. Will the videos play automatically during the experiment? I ask this question because we had some issues in the past with autoplaying soundfiles on another platform. Some browsers (most notably Safari) have autoplay disabled as a default.
Thank you very much in advance for your answers!
|
|
|
Post by PsyToolkit on Jun 30, 2020 13:22:22 GMT
|
|
|
Post by Moritz Jakob on Jul 1, 2020 13:16:03 GMT
Perfect! Thank you very much! We really appreciate your effort
|
|
|
Post by PsyToolkit on Jul 1, 2020 19:40:25 GMT
Let us know how you get on with video in your experiments! Hope it goes well. It would be nice to hear if the feature works out well for your research project. Please remember that PsyToolkit is a user-sponsored effort. Donations can be made here:
|
|
|
Post by Angelika Kern on Jul 22, 2020 9:48:14 GMT
Good Morning,
I have to confess I have encountered a problem using the video-feature. I included several (very short, about 2s) videos in my experiment which, as in the instruction, are imported from my dropbox. The code compiles without an error message but if I click "run", I see the start screen, followed by the "please click" screen and then the text "Loading 30%" appears, blinking green and white. But nothing happens afterwards, it just keeps on blinking. Any suggestions what the problem could be would be very helpful, I appreciate the effort.
|
|
|
Post by PsyToolkit on Jul 23, 2020 6:56:00 GMT
Good Morning, I have to confess I have encountered a problem using the video-feature. I included several (very short, about 2s) videos in my experiment which, as in the instruction, are imported from my dropbox. The code compiles without an error message but if I click "run", I see the start screen, followed by the "please click" screen and then the text "Loading 30%" appears, blinking green and white. But nothing happens afterwards, it just keeps on blinking. Any suggestions what the problem could be would be very helpful, I appreciate the effort. Please send me the details of your link and survey so that I can check what might be happening: psytoolkit@gmx.com
|
|