Movie only plays with a location value useless on the outside

<object id="VIDEO" width="640" height="360" style="position:relative; left:5px;top:5px" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
<param name="URL" value="W:\news\ScienceClub.m4v"> 
<param name="ShowDisplay" value="True"> 
<param name="AutoStart" value="True"> 
<param name="uiMode" value="full"> 
</object>

Open in new window

The following code - copied and adapted from a website - displays the movie only if the param value for "URL" is this stupid name containing the drive letter - all other attempts fail to show the movie. What must be done to make it available to everybody?

(Please see the attached code.)

Thanks!
DerCornetAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BillDLConnect With a Mentor Commented:
Are you testing this web page from your own computer?
Have you uploaded the file "ScienceClub.m4v" to a folder on your website?

For example, say you had a website at:
http://www.dercornet.com
and that the home page was:
http://www.dercornet.com/index.html

If you have your video file in a folder on your website, for example:
http://www.dercornet.com/vids/ScienceClub.m4v
then the absolute path to the video should work:
<param name="URL" value="http://www.dercornet.com/vids/ScienceClub.m4v">
OR
it might work with a URL that is relative to the page that is opening the video:
<param name="URL" value="vids/ScienceClub.m4v">

For relative URLs you sometimes have to include a leading /
<param name="URL" value="/vids/ScienceClub.m4v">
or even ./
<param name="URL" value="./vids/ScienceClub.m4v">
for it to work.

Remember that a "relative path" or "relative URL" is the path to the target from the web page where the link is, whereas an absolute path or URL is the fully qualified path that should work regardless of where it is placed.

Give this a go and see what happens.
0
 
BillDLCommented:
Thank you Gary
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.