Dear,
we have a channel on youtube, and in our website we have to embed everyday the recent video from this channel.
I added the code (from youtube) to embed the video in my php file plus i put the video in a frame, here is the code:
print"
<br>
<table dir=\"rtl\" border=\"5\" cellpadding=\"0\" width=\"474\"style=\"border-color: #efefef; border-style:solid\">
<tr>
<td width=\"22\" style=\" border-color: #ffffff; border-style:none\" bgcolor=\"#006699\">
<img border=\"0\" src=\"images/webtv-icon.gif\" width=\"22\" height=\"170\" alt=\"\"></td>
<td height=\"0\" style=\"border-color: #ffffff; border-style:none\" width=\"418\">
<object width=\"436\" height=\"344\">
<param name=\"movie\" value=\"http://www.youtube.com/v/vt4X7zFfv4k&hl=en&fs=1&\"></param>
<param name=\"wmode\" value=\"transparent\"></param>
<embed src=\"http://www.youtube.com/v/vt4X7zFfv4k&hl=en&fs=1&\"
type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"436\"
height=\"344\" ></embed></object>
</td>
</tr>
</table>";
the ID value of the Video vt4X7zFfv4k has to be changed daily.
so i have to put it in a variable like for example $ID, and replace it in the URL:
<embed src="http://www.youtube.com/v/$ID&hl=en&fs=1&"
but in this way it didn't work,
so please any suggestions on how should i replace it??
thanks a lot