I am trying to use modal to popup and play a local mp4 video. It works on Chrome, Firefox, IE Edge except the IE11 or older version. It always popup a warning on the bottom "Do you want to open or save xxxx from xxxxx". If I click open, it will open the Films & TV to play the video.
Is there anything I missed from using the bootstrap modal? Or it just what IE works like?
Here is my modal:
<div class="productVideo">
<a href="#videoModal" data-toggle="modal">
<img src="../assets/img/product/icon/play-button.png">
</a>
<!-- Modal HTML -->
<div id="videoModal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" id="video" src="http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
Besides, I found the mp3/mp4 from the MDN could not be played normally in IE, it will warn "Do you want to open or save xxxx from xxxxx", but Chrome could play it normally.
Update
use 'video' tag instead of 'iframe' works for IE11 now.