I want to use 100% width and proportional height for the youtube link.
But it seems like height gets incorrect value.
Please help
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<div data-role="tabs" id="tabs">
<div data-role="navbar">
<ul>
<li><a href="#one" class="ui-btn-active" data-ajax="false">Film</a></li>
<li><a href="#two" data-ajax="false">Trailer</a></li>
</ul>
</div>
<div id="one">
<br />
</div>
<div id="two">
<br />
<iframe style="width:100%; border: none"
src="https://www.youtube.com/embed/sR_G6XXZaNI"></iframe>
</div>
</div>