Line 102: | Line 102: | ||
− | |||
− | <video id="my-video" class="video-js" controls preload="auto" style="width:100%;" | + | <video id="my-video" class="video-js" controls preload="auto" style="width:100%; padding-bottom:56.25%; height:100%;" |
poster="https://upload.wikimedia.org/wikipedia/commons/7/7c/Aspect_ratio_16_9_example.jpg" data-setup="{}"> | poster="https://upload.wikimedia.org/wikipedia/commons/7/7c/Aspect_ratio_16_9_example.jpg" data-setup="{}"> | ||
<source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" type='video/mp4'> | <source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" type='video/mp4'> | ||
Line 116: | Line 115: | ||
<script src="http://vjs.zencdn.net/5.11.7/video.js"></script> | <script src="http://vjs.zencdn.net/5.11.7/video.js"></script> | ||
− | |||
Revision as of 15:59, 11 October 2016