![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||