Created
January 8, 2014 23:26
-
-
Save astromac/8326668 to your computer and use it in GitHub Desktop.
HTML5 video in a Bootstrap modal window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal-trigger"> | |
<canvas></canvas> | |
<video preload="auto" controls="controls" poster="img/why-autologel-poster.png"> | |
<source src="media/why-autologel.mp4" type='video/mp4'> | |
<source src="media/why-autologel.webm" type='video/webm'> | |
</video> | |
</div> | |
<!-- Modal Window --> | |
<div class="modal fade" id="modal-window" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
<h4 class="modal-title" id="myModalLabel"></h4> | |
</div> | |
<div class="modal-body"> | |
<div class="media"></div> | |
<div class="copy"></div> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment