The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

The HREF for the link is the media player page you created. Onclick calls a Javascript function to open the window.

We store the window object (created with the window.open() call) in a variable called w. This variable will be null if the window didn't open. The way this function is set up, if the window opened loads the media player page in a new window. If the window didn't open, the media player page opens in the same window and your user can use the back button to go back to the page he/she was on.

If you use my code as-is and just replace the HREF and the link text (and adjust the window's width/height to fit everything you need), everything should work great whether JS is enabled or not .

Well I tried all of that, now the problem is how am I gonna link my videos to that instructions..?

As far as I see the pop-up window will display the mediaplayerpage.html which shows us nothing..?

I have a lot of videos in google videos system and I just wanna connect those with a link to my site, this way when visitors click in a link a pop-up window will be open with a video playing in it..?