Quicktime SetURL from Javascript
- From: "ghassett" <ghassett@xxxxxxxxxxx>
- Date: 29 Nov 2005 16:06:25 -0800
Hello,
When I have a Quicktime object embedded in my web page, and I use
Javascript to set its URL, the clip always starts playing immediately,
even if I have the player's autoplay property set to false. Here is a
code snippet:
<EMBED width="100%" height="100%"
TYPE="video/quicktime"
PLUGINSPAGE="www.apple.com/quicktime/download"
name="mediaPlayer"
autoplay="false"
loop="false"
enablejavascript="true">
</EMBED>
Then, in Javascript, I do this:
mediaPlayer.SetAutoPlay (false);
mediaPlayer.SetURL (filename);
mediaPlayer.Stop ();
You can see that I'm really trying to get it to load the darn clip
without playing it, but Quicktime starts playing the song every time
(even though I force a call to SetAutoPlay(false) before calling
SetURL, and call Stop() after calling SetURL())!!!!
Any help would be appreciated ....
// greg //
.
- Prev by Date: javascript sending variable
- Next by Date: Re: detecting whether frame is top one and in case it isn't redrawing it as top
- Previous by thread: javascript sending variable
- Next by thread: Suppress Browser Alert
- Index(es):
Relevant Pages
|