<!-- Instructions -->
<div class="slide" id="instructions-training-1">
  <h1>Instructions</h1>
  <div class="blue">
    <p>In this experiment, your task is to judge to what extent you agree with different statements about a video clip.</p>
    <p>The image below shows you an example of the kinds of clips you are going to see. 
    </p>  
    <img src="static/images/example_stimulus.jpg" alt="Example" style="width:400px;height:300px"> 
    <p> All of the clips feature two billiard balls, a <b>black ball</b>, and a <b>white ball</b>. In the clip above, both balls first collide, the black ball then bounces off a wall and goes through the red gate. 
    </p> 
  <br>
    <p>For each clip, your task will be to judge to what extent you agree with the following statements: </p>
    <li> "The black ball almost didn't go through the gate."</li> 
    <li> "The black ball would have gone through the gate if the white ball had not been present in the scene."</li> 
    <li> "The black ball would have gone through the gate if the white ball's path had been slightly different from what it actually was. "</li> 
  <br>
    <p>Note that the phrasing of the statements depends on the outcome. For example, if the black ball did in fact miss the gate, we will ask you whether you agree with the following statement: </p>
    <li> "The black ball almost went through the gate."</li>
  <br>
  <br>
    <p style="text-align:center"> Please click <b>Start</b> to begin the experiment.</p>  
  </div>

  <div class="continue">
    <button type="button" class="next">Start</button>
  </div>
</div>

<!-- Trial -->
<div class="slide" id="trial">
  <div id="progress">
    <div id="progress-text">Progress</div>
    <div id="indicator-container">
      <div id="indicator-outer">
        <div id="indicator-stage"></div>
      </div>
    </div>
    <div class="spacer"></div>
  </div>
  <br />
  <hr />
  <div id="stim">
    <div id ="prompt-text"> To what extent do you agree with the statements on the right?</div>
  
  </br>

  <div class = "container">   
        <div class ="video_container">
        <video class ="stim_video" width="400" height="300" loop autoplay>
              <source src = "" id = "video_mp4">
              <source src = "" id = "video_webm">
              <source src = "" id = "video_ogg">
        </video>
        <div class="continue">
    <button type="button" class="next" id="play">reload video</button>
  </div>
  </div>
  <div class = "choices_container">
      <div id="choices"></div>
  </div>  
  </div>

  <div class="spacer"></div>

    <p class="stim_text"> <b>Note</b>: The video is playing in a loop. If it stops playing, just click the 'reload video' button. </p>
  </div>

<div class="spacer"></div>
  <hr />   

  <div class="continue">
    <button type="button" id="trial_next" class="next">Continue</button>
  </div>
</div>
