Solved

Movie only plays with a location value useless on the outside

Posted on 2013-05-14
4
128 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
The goal of the tutorial is to teach the user what exposure is and how to use the exposure slider. Analyze the photo that you want to edit, then adjust the exposure slider to your liking.
Suggested Courses

624 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