I have created custom Post type called "Videos", For Post the YouTube Videos, i have Paste the URL of You tube videos in the WordPress Editor
For Ex:"https://www.youtube.com/watch?v=COviggz8j50"
But Each YouTube videos Displaying Different Dimension
I want to Display my videos In 700 x 350 PX Dimension
Here i am giving the Dimension of first two videos
First video Dimension Width: 500, Height:280
second video Dimension Width: 500 Height: 375
Note: I want to use You tube video URL to Post videos, Not want to use Embed code like <iframe></iframe>
from YouTube videos
In my page-videos.php
<div class="main container">
<div class="content left">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$type = 'videos';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => 5,
'paged'=>$paged
);
$wp_query = null;
$wp_query = new WP_Query($args);
if ( $wp_query->have_posts()) :
while ( $wp_query->have_posts()) : $wp_query->the_post(); ?>
<article class="post">
<?php the_content(); ?>
<div class="clear"></div>
</article>
<?php endwhile;
my_simone_paging_nav();
else :
echo "<p>No content found</p>";
endif;
wp_reset_query(); // Restore global post data stomped by the_post().
?>
</div><!-- End content -->
<?php get_sidebar(); ?>
</div><!-- End main-content -->