Forum: Q & A

Thread: Newbie can not load a quicktime object movie innto a blank page.

Search the forums:
Author  Message 
dimitris kiourtsoglou

Posts: 5
Location: United Kingdom
Registered: 3 Apr 2008
Newbie can not load a quicktime object movie innto a blank page.
Posted: 7 May 2008 at 15:49 GMT
reply
I followed the tutorial but with no luck.
I want to do it using the quicktime plug in.
The movie i am trying to display is called sotek.mov and is in the main directory.
The page i am trying to load is in the main directory too.
The javascripts
InsertMovie.js and AC_Quicktime.js are in the main directory.

In both function and main page code I replaced sample.mov with sotek.mov

here is the code of the page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
<script src="InsertMovie.js" language="JavaScript" type="text/javascript"></script>

</head>

<body>
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT_XHTML('sotek.mov', '320', '256', '',
'autoplay', 'true',
'emb#bgcolor', 'black',
'align', 'middle');
</script>
<noscript>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320" height="256" align="middle"
codebase="www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" >
<param name="src" value="sotek.mov" />
<param name="autoplay" value="true" />
<embed src="sample.mov" width="320" height="256"
pluginspage="www.apple.com/quicktime/download/"
align="middle" autoplay="true" bgcolor="black" > </embed>
</object>
</noscript>

</body>
</html>

and the code of the function
function InsertSampleMovie()
{
document.write('<object classid="clsid: 02BF25D5..." ...>\n');
document.write('<param name="src" value="sotek.mov" />\n');
document.write('</object>\n');
}


can someone help me out? thank you.
alert moderator