A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Music, Pictures and Video with Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Music, Pictures and Video with Vista Using music, pictures and video with Windows Vista. (microsoft.public.windows.vista.music_pictures_video)

html and wmv files using 'backward' relative addressing



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 22nd 08, 11:40 AM posted to microsoft.public.windows.vista.music_pictures_video
bill
external usenet poster
 
Posts: 305
Default 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?

  #2 (permalink)  
Old July 23rd 08, 06:37 AM posted to microsoft.public.windows.vista.music_pictures_video
zachd [MSFT]
external usenet poster
 
Posts: 3,472
Default 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" wrote in message
...
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?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.