play |
stop |
mute ON |
mute OFF |
+vol |
-vol
*/
// add Javascript functions below
// open a pop-up window
function openWin(URL) {
alert
window.open(URL,'','width=640,height=480,scrollbars=no,resizable=no');
}
// QuickTime Functions
// define function to play QT movie
function PlayIt(anObj){
anObj.Play();
}
// define function to stop QT movie
function StopIt(anObj){
anObj.Stop();
}
// define function to mute QT movie
function MuteOn(anObj){
// anObj.SetMute(1);
anObj.SetMute(true);
}
// define function to un-mute QT movie
function MuteOff(anObj){
// anObj.SetMute(0);
anObj.SetMute(false);
}
// function to increase volume
function upVol(anObj){
nowvol=anObj.GetVolume();
nowvol=nowvol+50;
if (nowvol>255) {
nowvol=255;
alert ("Volume is now set at maximum level\n" +
"and may cause hearing loss!");
};
anObj.SetVolume(nowvol);
}
// function to decrease volume
function downVol(anObj){
nowvol=anObj.GetVolume();
nowvol=nowvol-50;
if (nowvol <= 0) {
nowvol=0
alert ("Volume is now set to zero\n" +
"and cannot be heard!");
};
anObj.SetVolume(nowvol);
}
//-->
Quicktime 7 or newer must be installed on your computer.
Return to RTGWN Streaming Video Index