<!-- Instructions -->
<div class="slide" id="instructions-training-1">
  <h1>Instructions</h1>
  <div class="blue">
    <p>In this experiment, your task is to decide how well different sentences describe what happened in 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>When the black ball <b>goes through the gate</b>, you will say to what extent you think the following sentence is a good description of what happened: </p>
    <li> "The white ball <b>almost prevented</b> the black ball from going through the gate."</li> 
  <br>
    <p>When the black ball <b>misses the gate</b>, you will say to what extent you think the following sentence is a good description of what happened: </p>
    <li> "The white ball <b>almost caused</b> the black ball to go 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 is the statement on the right a good description of what happened in the video clip?</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 played 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>
