Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed Vimeo Bootstrap 3.0

Question says it all,how is it possible to embed a vimeo video in bootstrap 3.0 ?

Example Code:

<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>

Is unfortunately not working.

like image 778
Pantelis Ieronimakis Avatar asked Sep 01 '13 21:09

Pantelis Ieronimakis


1 Answers

Please try this code, it works in 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>
like image 116
Prasanna Aarthi Avatar answered Sep 28 '22 10:09

Prasanna Aarthi