当前位置 : 主页 > 网页制作 > Bootstarp >

嵌入Vimeo Bootstrap 3.0

来源:互联网 收集:自由互联 发布时间:2021-06-12
问题说明了,如何在bootstrap 3.0中嵌入 vimeo视频? 示例代码: div class="container" section class="row" div class="span6" div class="flex-video widescreen"iframe src="//player.vimeo.com/video/71876963" width="500" height="2
问题说明了,如何在bootstrap 3.0中嵌入 vimeo视频?

示例代码:

<div class="container">
   <section class="row">
      <div class="span6">
         <div class="flex-video widescreen"><iframe src="//player.vimeo.com/video/71876963" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>
         </div>
       <div class="span6">
        ...
      </div>
    </section>
</div>

遗憾的是不行.

请尝试此代码,它在bootply中工作

<div class="container">
 <div class="row">
 <div class="span6">
 <div class="flex-video widescreen" style="margin: 0 auto;text-align:center;">
 <iframe allowfullscreen="" src="http://player.vimeo.com/video/71876963" frameborder="0" width="500" height="281"></iframe>

  </div> 


   </div>
   </div>
   </div>
网友评论