I'm a newbie so don't laugh...
I'm trying to create a page that displays links to a video log (vlog). The videos are all stored on YouTube. I have a MySQL database that contains the iFrame data to display the video from YouTube.
On my page, I have a list of available videos. This list is populated from the MySQL database using PHP. At the end of each line is a link. I want the link to open a new window, sized to match the display characteristics of the video. Here is the code for the link. This code appears inside my PHP tags.
<a href = \"#\" onClick=\"window.open('http://some_site.com','window_name','left=20,top=20,toolbar=no,location=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600,left=100,top=100');\"><img src=\"arrow.gif\"></a>";
This code displays an arrow that when clicked opens a window from some_site.com. It works just fine. I have been trying to figure out where to insert the iFrame code. Nothing seems to work.
Any ideas?