Page 1 of 1

Including a youtube video on a PHP website

Posted: Mon Mar 10, 2008 2:48 am
by pure_ali
dear ALL:

can any buddy help me how to add a you tube video video on a personal php page.

what i have done :

<object width="253" height="211"><param name="movie" value="http://www.youtube.com/v/<? echo $row["video"];?>"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<? echo $row["video"];?>" type="application/x-shockwave-flash" wmode="transparent" width="253" height="211"></embed></object>

but this can only help me with the video .... i want the description of the video from the orignial video .....


can any buddy help me in this regard ?????

Re: Including a youtube video on a PHP website

Posted: Mon Mar 10, 2008 6:25 am
by Sekka
The video is all you can embed from YouTube. You can't dynamically embed the description too.

You will need to copy the description separately and store it with the video code.