Solved

Movie only plays with a location value useless on the outside

Posted on 2013-05-14
4
125 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
The goal of the tutorial is to teach the user how to edit a basic portrait of someone. This tutorial shows how to edit two basic photographs, one of a car and one of a person.
The goal of the tutorial is to teach the user how to use import presets downloaded from the internet into Adobe Lightroom. Once you downloaded the presets go into the preset folder and press import then import your preset and your set it to go.

735 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