Hello,
For our survey, we created a loop in which we have a randomization list with a list of videos. Those videos are all shown and rated by the participant using a loop and multi-level structure.
This is the code we have implemented for this:
$codes = array_values(valueList('RD06'));
$i = loopToPage('loopEnd2', 4);
$randomID = id('RD', 6, $i+1);
if (value($randomID) > 0) {
replace('%image%', $randomID, 'response');
html(' xx video autoplay xx
xx source src="%image%" type="video/mp4" xx
xx /video xx');
However, before we were presenting a list of videos which were uploaded into the media files, and therefore the %image% code was being used. Now, we want to present a sequence of videos by calling them from URLs, like this:
1 = https://faubox.rrze.uni-erlangen.de/dl/......../EE_pos1_25%20frames.mp4
2 = https://faubox.rrze.uni-erlangen.de/dl/f........./P_neu1_25frames.mp4
3 = https://faubox.rrze.uni-erlangen.de/dl/.........../P_neg1_25%20frames.mp4
What would be the right code for that? The URLs are working, they do not change and lead to directly downloading the video.
Thank you very much for your help! :)