Millisecond Forums

Presenting videos of different lengths

https://forums.millisecond.com/Topic18861.aspx

By shareli - 4/10/2016

Dear all
I wish to present a video selected randomly from a set of possible videos varying in length. At the end of the video I need the last frame to remain freezing for two additional seconds. If I do it with a trails presenting the video as stimulus frame and set the timeout to the length of the longest video plus two seconds obviously this changes the duration of this freeze. I was trying to do it by having an additional frame presenting a very small unseen video showing a white background in the corner of the screen or two additional seconds but for some reason bot appeared together. Any ideas are welcomed. Unrelated to that, I tried to use the erase command with a video but it seems to not work regardless of the numbers I was inserting to define the color of the eraser.
Thanks much
Shlomo   


By Dave - 4/10/2016

Set up a <trial> that displays the <video> element. Set the <trial>'s /timeout or /trialduration to some short value and the <video> element's /playthrough attribute to true. From that <trial>, /branch to another <trial> element that lasts 2 seconds and displays a <picture> element with a still image of the respective video's final frame.
By shareli - 4/10/2016

Dear Dave
Thanks much for the response. 
Yours
Shlomo