Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista music pictures video

Vista - html and wmv files using 'backward' relative addressing

Reply
 
Old 07-22-2008   #1 (permalink)
Bill


 
 

html and wmv files using 'backward' relative addressing

Hi,
My html code can call and run wmv files if the wmv file is in the same
folder or a sub-folder as the html file calling it. But I normally like to
keep my code and images in separate folders viz:
(..\contents for html, ..\images for jpg files and ..\videos for wmv files).
The relevant code extracts of an html file located in ..\contents are
<PARAM name="FileName" VALUE="../videos/videofle.wmv">
<EMBED TYPE="application/x-mplayer2" SRC="../videos/videofle.wmv"
NAME="MediaPlayer"
This doesn't work. When the player is displayed and I right click it to
check its properties, the properties are disabled.
'Backward' relative addressing works perfectly for images held in ..\Images
such as
html code ../images/imagefle.jpg.
Why doesn't 'backward' relative addressing work for wmv files?


My System SpecsSystem Spec
Old 07-23-2008   #2 (permalink)
zachd [MSFT]


 
 

Re: html and wmv files using 'backward' relative addressing


As noted, that's not supported. Use either full URLs or subdirectories, but
directory walking upwards in that fashion is as noted not supported. An
ActiveX control that supports ".." in the pathname is potentially in for an
interesting time - it's kind of good to avoid that.

--
Speaking for myself only.
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
"Bill" <Bill@xxxxxx> wrote in message
news:3453A1B9-8A24-4505-8E53-D8473F0859E2@xxxxxx
Quote:

> Hi,
> My html code can call and run wmv files if the wmv file is in the same
> folder or a sub-folder as the html file calling it. But I normally like
> to
> keep my code and images in separate folders viz:
> (..\contents for html, ..\images for jpg files and ..\videos for wmv
> files).
> The relevant code extracts of an html file located in ..\contents are
> <PARAM name="FileName" VALUE="../videos/videofle.wmv">
> <EMBED TYPE="application/x-mplayer2" SRC="../videos/videofle.wmv"
> NAME="MediaPlayer"
> This doesn't work. When the player is displayed and I right click it to
> check its properties, the properties are disabled.
> 'Backward' relative addressing works perfectly for images held in
> ..\Images
> such as
> html code ../images/imagefle.jpg.
> Why doesn't 'backward' relative addressing work for wmv files?
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Copying files to relative paths PowerShell
files blocked if html or htm Vista security
Error Printing html files Vista print fax & scan
IE 7 in Vista won't load .swf files unless called from html? Vista General
Desktop and HTML Files Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46