Results 1 to 2 of 2
Jan 18, 2011, 13:48 #1
- Join Date
- Dec 2005
- 0 Post(s)
- 0 Thread(s)
I'm setting up a video gallery on a site. What I want to happen is that when the user clicks on a thumbnail it then opens and plays the corresponding video clip in shadowbox.
What shadowbox opens is a page which holds the video player object. What I need to happen is for the video reference to be passed to the page that shadowbox opens.
I don't know how to do this. I can get this working where the thumbnails are all on the same page as the video player object. The link on the thumbnail images is as follows:
any help as always much appreciated.
Thanks in advance.
Jan 18, 2011, 18:27 #2
If you have to open it in a new page, why don't you open a template page (playvideo.html?vidId=rb6RuHSMY-8), that will also contain a reference to your shadowbox JS file, as well as a playvideo.js file. In this file you place some code like:
window.onload = function()
var videoId = window.location.search.replace('?vidId=', '');