Hai guys,
I want to embed youtube video into my homepage template. I grab the youtube embed code from my youtube accoount, this is the code: <iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/dhcngC-6Blk” frameborder=”0″ allowfullscreen></iframe>
I embeded that code into home.php
<?php if(of_get_option('sc_homecontent') == '1') { ?>
<!--begin cols content -->
<div class="container clearfix">
<div class="slider">
<h3><?php _e("Featured posts", "site5framework"); ?></h3>
<?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(); } ?>
<iframe width=560" height="315" src="//www.youtube.com/embed/dhcngC-6Blk" frameborder="0"> </iframe>
<div class="horizontal-line"> </div>
</div>
But the video display is very wide, I want to make it smaller and fit into the column that I want the video to appear, here is the ilustration of what I want. I’ve tried to resize the video widht and hight, but it does’nt change.
It look like code for blurb content which is two column, but I don’t know how to make it.
Please help me to make this.