我想在我的网站上使用Bootstrap + HTML5视频播放器。下面是我得到的信息:
<div align="center" class="embed-responsive embed-responsive-16by9">
<div class="instruction">
<p>
click play to launch fullscreen. click replay to watch in the container from the beginning.
</p>
<button href="#" id="play">
Play
</button>
<button href="#" id="replay">
Replay
</button>
</div>
<video autoplay loop class="embed-responsive-item">
<source src=http://techslides.com/demos/sample-videos/small.mp4 type=video/mp4>
</video>
</div>
.instruction {
width:100%;
height:100%;
margin:0;
padding:0;
text-align:center;
position:absolute;
z-index:99;
color:#fff;
top:50%;
}
http://jsfiddle.net/pw7yzLfg/1/
WHat我希望实现以下目标:
我怎样才能做到这一点呢?
https://stackoverflow.com/questions/45286411
复制相似问题