I need a php script such that if I click a link on a page containing video (hosted on my server), the video should be played back in a pop up / new window.
The videos would be uploaded to the page by the users via an upload box. So, I wouldn't have the file name or even probably the exact file path of the video in prior to refer within the embed tags.
Currently, if a video is uploaded to the page, and if you hover on the "uploaded link" the link refers to [login to view URL][upload directory path]/video-file. And upon clicking the link the browser provides the option to download the video file