Is there a way to make a series of videos playback once but randomly each time?

  • castferem
    Asked on February 9, 2023 at 2:40 AM

    I'm trying things out and want to know if there's a way to make a series of videos playback once but randomly each time. I would also have to add one single-choice question to each video.

    I appreciate any help you can provide.


  • Clara JotForm Support
    Replied on February 9, 2023 at 4:29 AM

    Hi Emanuel,

    Thanks for using Jotform Support. If you're referring to skipping a video page randomly, yes, You can use our Form Calculation widget to generate random numbers and then use our Conditions feature to skip based on the random page. Let me walk you through step by step;

    Adding Form Calculation Widget and Using It to Create Random Numbers:

    • In Form Builder, click on the Add Form Element + menu on the left side of the page.
    • Under the Widgets tab, search for the Form Calculation widget and add it to your form.
    • Then, click on the Wand icon next to the form calculation area.
    • Click on the Three Dots (...) icon and select the random. Then set the calculation area as: random * 9 (As if you want to generate a number from 0 to 9)

    1670392119 6390293759e21 6390293759de3 Screenshot 10

    • Click on the Add New Page Here+ under the form field.
    • In Form Builder, click on the Add Form Element + menu on the left side of the page.
    • Under the Widgets tab, search for any video sharing and social media platform and add it to your form.
    • Finally, embed your video link to the widget.

    1675932511 63e4b35fec821  Screenshot 21

    Adding questions to pages:

    • Click on the Add Form Fields+ button.
    • Under the Basic tab, select any question form field.

    1675934488 63e4bb187593c  Screenshot 32

    Using Conditions Based on the Random Number:

    • Open your form in Form Builder, and in the orange navigation bar at the top of the page, click on Settings.
    • In the menu on the left side of the page, click on Conditions.
    • Click on Add a New Condition and select the Skip/Hide Page.
    • Set the conditions as you see below for results between 0-1:

    IF: Result ( Random Calculator )

    STATE: Less Than

    TARGET: Value

    VALUE: 1

    • Click on the plus (+) icon next to the area.

    IF: Result ( Random Calculator )

    STATE: Greater Than

    TARGET: Value

    VALUE: 0

    • Click on the Downward icon and select the All in "If __ of the "if" rules are matched." area

    DO: Skip to the Page on the Next Button

    PAGE: Page 2 (the page you want to skip if the result is between 0-3)

    1670393009 63902cb1591ff 63902cb1591c0 Screenshot 43

    Set the other conditions as below:

    1675933987 63e4b92312940  Screenshot 54

    Give it a try and let us know if you need any other help.

  • castferem
    Replied on February 9, 2023 at 5:11 AM

    Hi, Clara. Thank you for helping with the information.

    I don't want to skip any of the videos. I'm conducting an experiment where each participant should go through a total of 15 short videos. I would like the user to watch all of them. Each video will have one option selection, whether it is positive or negative and then move on to the next. I want to make it so that the order of all 15 videos changes every time a participant goes through the experiment. In each experiment, all 15 videos must play once and no repeats, Is that possible?

    Thank you.

  • Mary JotForm Support
    Replied on February 9, 2023 at 5:35 AM

    Hi Emanuel,

    Thank you for the additional information. Unfortunately, the feature you're looking for isn't available at Jotform right now. I went ahead and escalated your request to our developers, but when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll circle back to this thread and let you know.

    Thanks for your patience and understanding, we appreciate it.

  • castferem
    Replied on February 9, 2023 at 5:50 AM

    Thank you Mary.

    Very much appreciated.