vimeo - Larger youtube movie Bootstrap modal -


larger youtube movie bootstrap modal.

hi all

i have jsfiddle here - http://jsfiddle.net/kc0erdno/1/

i'm using bootstrap modal embed responsive vimeo video.

everything seems working ok can't change starting size of video.

the iframe has width="1000" width of video in page 598.

how can increase size of video in page.

    <!doctype html>     <html lang="en-us">        <head>       <meta http-equiv="content-type" content="text/html; charset=utf-8">       <meta http-equiv="x-ua-compatible" content="ie=edge">       <meta name="description" content="">       <meta name="keywords" content="">       <meta name="robots" content="">        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />        <link rel="stylesheet" type="text/css" href="stylesheets/styles.css" />        <link href='http://fonts.googleapis.com/css?family=open+sans:400,300,700,600' rel='stylesheet' type='text/css'>       <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>        <style>          .glyphicon-play{           color: red;           font-size: 4em;           margin: 50px 0 0 0;         }         .modal-dialog{           margin: 150px auto;         }           button.close{           font-size:30px;           position: absolute;           top: 5px;         }         .modal-body {             position: relative;             padding-bottom: 56.25%;             padding-top: 30px;             height: 0;              overflow: hidden;         }          .modal-body iframe{             position: absolute;             top: 0;             left: 0;             width: 100%;             height: 600px;         }         </style>         <title>trade marketing</title>       </head>     <body>        <div class="wrap">          <div class="container">            <div class="row">              <div class="glyphicon glyphicon-play" data-toggle="modal" data-target="#mymodal"></div>                <div id="mymodal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true">                   <div class="modal-dialog">                       <div class="modal-content embed-responsive embed-responsive-16by9">                           <div class="modal-header">                               <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>                           </div>                           <div class="modal-body">                             <iframe src="https://player.vimeo.com/video/99676584?title=0&amp;byline=0&amp;portrait=0" width="1000" height="528" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen class="embed-responsive-item"></iframe>'                            </div>                       </div>                   </div>               </div>            </div>          </div>        </div><!--wrap-->       <script src="javascripts/bootstrap.js"></script>     </body>     </html> 

change styles modal...

.modal-dialog {     width: 1000px;      /* responsive */     max-width:90%;     min-width:600px; } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -