not functioning ../ with mpg file

They have: 5 posts

Joined: Jun 2006

Hello all,

I have a problem with a mpg video in embed tag.

When I use this:

<EMBED src="video.mpg" WIDTH="370" HEIGHT="251.7" LOOP="TRUE" AUTOSTART="FALSE"></embed>
'

or

<EMBED src="/path/video.mpg" WIDTH="370" HEIGHT="251.7" LOOP="TRUE" AUTOSTART="FALSE"></embed>
'

it works without a problem.

But when I use:

<EMBED src="../video.mpg" WIDTH="370" HEIGHT="251.7" LOOP="TRUE" AUTOSTART="FALSE"></embed>
'

or

<EMBED src="../path/video.mpg" WIDTH="370" HEIGHT="251.7" LOOP="TRUE" AUTOSTART="FALSE"></embed>
'

Then the video can't be found.

Also when I use:

<OBJECT id='mediaPlayer' width="320" height="285"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="../video.mpg">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="false">
<param name='showControls' value="true">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="../video.mpg" autostart="false" designtimesp='5311' loop="true">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
<!-- begin link to launch external media player... -->
<tr><td align='center'>
<a href="../video.mpg" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<!-- ...end link to launch external media player... -->
</td></tr>
</table>
'

It didn't work but the href link works. Probably a "SRC" problem?
I use IE.

Is there a workaround? Has anybody seen this?

Thanks
Peter