First thing:

I've produced an easy wordpress plugin that have merely a text area where I place youtube video id such as this is my video url given below

http://www.youtube.com/watch?v=MtKk_pEX2nk

Select the video id in the above url display in bold.After place this id through my very own wordpress plugin into database.

Second thing:

I'm utilizing a video wordpress plugin that shows video on frontend basically passed id of video around the specific purpose of that wordpress plugin http://wordpress.org/extend/plugins/wp-youtube/

purpose of that wordpress plugin that we known as on page.php

<?php wpyoutube ('wpyt_profile2', 'MtKk_pEX2nk') ?>

The id which i've passed within this function originate from database dynamically.

page.php code

 <table border="0" cellpadding="2" cellspacing="2">
        <tr>
          <?php 
     $result = mysql_query("select * from wp_youtubevideo where    status='1'");
      $count=1;
         while($row = mysql_fetch_array($result)) {
          //echo $count;
          ?>



       <td><?php $a = $row['embeded_code'];
             wpyoutube ('wpyt_profile2', $a);?>
        </td>
   <?php if($count == 4)
      { //echo"shalu";
      echo"</tr><tr>" ;
       $count=0;
        ?>
     <?php } ?>
        <?php 
       $count++;

        } ?>
     </table>

Problem: I would like somthing like image gallery after i click any kind of video it ought to be play in container.

    see link :http://hostgeyser.com/socialtrekk/?page_id=314 

after i click any of the video at this time it play at the same location i would like a container that height and width 500* 500 on that container video ought to be play

Ican do that for images gallery but just in case of video i dont know how I actually do. Help me want somthing such as this http://tubepress.org/ Thanks