Forum Moderators: open

Message Too Old, No Replies

Video and iFrames

         

GrizBehr

3:24 pm on Aug 18, 2009 (gmt 0)

10+ Year Member



Need a little help. I have several FLV files of a client's TV commercials. What I want to do is have the videos in an iFrame (or something similar if there is a better way) along the bottom with the video player large above it. My problem is, I don't know how to link it through the iFrame back to the video player. Thank you in advance for your help.

rocknbil

5:34 pm on Aug 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboar GrizBehr.

<iframe name="video-player" id="video-player" src="video-placeholder.html"></iframe>

You can do it directly, creating a video player file for each video:

<a href="video1.html" target="video-player">Video 1</a>

Or if you use a script that outputs the video based on a parameter,

<a href="video.php?v=1234" target="video-player">Video 1234</a>

You can also do this using Javascript, but it's probably not required (and breaks if JS is disabled.)