Solved

Movie only plays with a location value useless on the outside

Posted on 2013-05-14
4
119 Views
Last Modified: 2014-10-24
<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!
0
Comment
Question by:DerCornet
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
BillDL earned 200 total points
ID: 39197722
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
 
LVL 38

Expert Comment

by:BillDL
ID: 40402076
Thank you Gary
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
The goal of the tutorial is to teach the user what gradient filters are and how to use them. When you have a photo and some part of the photo is either over exposed or under exposed, you use a gradient filter to help mask the need to touch up th…
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now