Re: howto hide QuickTime object?
- From: "Encapsulin" <encapsulin@xxxxxxxxx>
- Date: 30 Dec 2005 11:13:11 -0800
In some reason Mozilla crashed with the following code (but IE is ok):
<SCRIPT type="text/javascript">
function showmov(filename)
{
if(filename == "")
{
document.movie.style.display = 'none';
}
else
{
document.movie.style.display = '';
document.movie.SetURL(filename);
}
document.getElementById('report').innerHTML =
"["+document.movie.style.display+"] ["+document.movie.GetURL()+']';
}
</SCRIPT>
<br><a href="javascript:showmov('sample1.pano');">sample1</a>
<br><a href="javascript:showmov('sample2.pano');">sample2</a>
<br><a href="javascript:showmov('');">hide</a>
<hr><span id="report">status</span>
<hr>
<OBJECT
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
width="180" height="160"
id="movie" >
<PARAM name="src" value="">
<EMBED width="180" height="160"
src=""
TYPE="video/quicktime"
PLUGINSPAGE="www.apple.com/quicktime/download"
name="movie" id="movie"
enablejavascript="true">
</EMBED>
</OBJECT>
WHY?
.
- Follow-Ups:
- Re: howto hide QuickTime object?
- From: Thomas 'PointedEars' Lahn
- Re: howto hide QuickTime object?
- References:
- howto hide QuickTime object?
- From: Encapsulin
- Re: howto hide QuickTime object?
- From: Janwillem Borleffs
- Re: howto hide QuickTime object?
- From: Thomas 'PointedEars' Lahn
- howto hide QuickTime object?
- Prev by Date: Re: element question
- Next by Date: Re: W3C DOM Level 3 Events
- Previous by thread: Re: howto hide QuickTime object?
- Next by thread: Re: howto hide QuickTime object?
- Index(es):