I'm still not understood, why relative path to the .mov doesn't works.
I have the following html-code:
<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="movie2"
enablejavascript="true">
</EMBED>
</OBJECT>
<br><a
href="javascript:document.movie.SetURL('sample1.mov');">sample1</a>
<br><a
href="javascript:document.movie.SetURL('sample2.mov');">sample2</a>
<br><a
href="javascript:document.movie.SetURL('./mov/sample1.mov');">sample1</a>
<br><a
href="javascript:document.movie.SetURL('./mov/sample2.mov');">sample2</a>
The problem is: first 2 jscripts works properly, but last 2 doesn't
works in both IE and Mozilla. Does anybody know why???
Encapsulin napisal(a):
> href="javascript:document.movie.SetURL('./mov/sample1.mov');">sample1</a>
> <br><a
> href="javascript:document.movie.SetURL('./mov/sample2.mov');">sample2</a>
>
> The problem is: first 2 jscripts works properly, but last 2 doesn't
> works in both IE and Mozilla. Does anybody know why???
Just a thought: Are you testing it on a real server, or just loading a
file from the disk, on Windows? In this case, you might want to try
'.\mov\sample2.mov' instead. And then fix the path back to
'./mov/sample2.mov' before uploading, because webserver should handle
it correctly.
> I'm still not understood,
what is expected behavior here? Yes, indeed, alas.
<URL:http://jibbering.com/faq/#FAQ2_3>
> why relative path to the .mov doesn't works.
> I have the following html-code:
[quoted text clipped - 4 lines]
> width="180" height="160"
> id="movie" >
Again, that is not going to work on non-Windows systems or those without
the QuickTime plugin, that includes systems using another application for
QuickTime movies.
> <PARAM name="src" value="">
> <EMBED width="180" height="160"
[quoted text clipped - 4 lines]
> enablejavascript="true">
> </EMBED>
This is the last time I am going to tell you to get rid of that invalid
`embed' element.
news:1135771022.561695.27700@g44g2000cwa.googlegroups.com
(VK is correct about the obsolete status of that proprietary element)
news:1186994.3eK83MmBpW@PointedEars.de
<URL:http://validator.w3.org/>
> </OBJECT>
> <br><a
> href="javascript:document.movie.SetURL('sample1.mov');">sample1</a>
That is not what was suggested by Andrew. Have you even read what was
posted?
> <br><a
> href="javascript:document.movie.SetURL('sample2.mov');">sample2</a>
> <br><a
> href="javascript:document.movie.SetURL('./mov/sample1.mov');">sample1</a>
> <br><a
> href="javascript:document.movie.SetURL('./mov/sample2.mov');">sample2</a>
<URL:http://jibbering.com/faq/#FAQ4_24>
> The problem is: first 2 jscripts works properly, but last 2 doesn't
> works in both IE and Mozilla.
"Does not work" is a useless error description. [psf 4.11]
<URL:http://jibbering.com/faq/#FAQ4_43>
> Does anybody know why???
Your Question Mark key is borken.
Possibilities:
1. The path is wrong: there is no `mov/sample1.mov' but a `sample1.mov'.
Check the path by accessing the resource directly (Address Bar etc.)
2. The plugin cannot handle this type of relative paths.
Omit the "./".
HTH
PointedEars