title: Stop playing video in iframe when modal is closed
body: <p>I have a play image with text 'Watch video', when clicked would open up a bootstrap modal window to play the video i put in. I've got the moday view to work. The problem I'm having with this is when I play the video and exit the screen while it is being played, the video continues to play in the background. If I click on the Watch Video link again, it would play the video from where it stopped off previously. </p>
  
  <p>I need to have the video stop when the modal window is closed. It needs to then play the video from the start the next time I click the "Watch video" link. I'm still new to this and am not sure how to do this. Anyone know how I can achieve this? </p>
  
  <pre><code>&lt;div class="col-md-12 f-play" data-toggle="modal" data-target="#myModal"&gt;
      &lt;img class="f-play-image" src="images/play.svg" data-target="#myModal" data-video-fullscreen=""&gt;Watch video
  &lt;/div&gt;
  
  &lt;div id="myModal" class="modal fade" role="dialog" tabindex='-1'&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-body"&gt;
                  &lt;div class="embed-responsive embed-responsive-16by9"&gt;
                      &lt;iframe class="embed-responsive-item" src="https://www.youtube.com/embed/7pvci1hwAx8?" allowfullscreen="" width="640" height="360" frameborder="0"&gt;&lt;/iframe&gt;
                   &lt;/div&gt;
               &lt;/div&gt;
               &lt;div class="modal-footer"&gt;
                   &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
               &lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>