Adding Movies to Your Web Page
Subject:   Frames, Embedded QuickTime, Passing Variables
Date:   2005-09-21 10:09:23
From:   Vidiot2002
<font face="verdana,helvetica,sans-serif" size="2">


I have a page built on frames and want users to click the links to the quicktime movies they want to view in the left frame ("contents.html") and have the movies load in a single template webpage in the left frame ("video.html").

The template page "video.html" is the one with the embedded code for the player, which I want to use for all movies they select.

I want the links in the "contents.html" file to pass the parameters for the embedded code to the "video.html" template page.

The "index.html" code is:

<font color="blue" size="2"><frameset

src="<font color="red">contents.html</font>"
name="<font color="green">Contents</font>">

src="<font color="red">video.html</font>"
name="<font color="green">Video</font>">

The "contents.html" code is:

<font color="blue" size="2"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<font color="black"><base target="Video"></font>
<title>Training: Videos TOC</title>

<u>Videos TOC</u>
<li><a href="<font color="red">video/</font>">Introduction</a>

The "video.html" code is (somewhat based upon your post):

<font color="blue" size="2"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link href="main.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="NoteTab Pro">
<title>Training: Videos</title>

<h1>Training: Videos</h1>

<object width="320" height="256"
<param name="src" value="<font color="red">VARIABLE</font>">
<param name="controller" value="true">
<param name="autoplay" value="true">
<embed src="<font color="red">VARIABLE</font>" width="320" height="256"
autoplay="true" controller="true"


As you can see, "contents.html" has a "base target" value of "Video", which directs the linked item to be shown in the "Video" framespace.

I don't know what code to enter in both the "contents.html" links, as well as the "video.html" page's embedded code. I'm sure it has to be some sort of variable from a javascript or something, but I'm at a loss.

I replaced the values for the "src" and "value" parameters and the "src" value in the "embed" tag with <font face="courier" color="red">VARIABLE</font>, which is where I think the passed variables will need to be placed (unless I'm completely off base here).

Can you help me with this? Any help would be greatly appreciated!</font>