Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Firefox link for a video link

Status
Not open for further replies.
Mar 11, 2004
127
GB
Im using the following code to start a video using a jpg as a link/button.

Code:
<p class="l_fifteen_top"><a href="videos/others/Fire_Force_2.wmv"><img src="Title/Fire Force 2_0001.jpg" style="border:1px solid white;"></a></p>

The code works in IE, but not in Firefox.

Can anyone shed some light as to why?

Many thanks,
Ant
 
'not in Firefox' is very vague. What does not work? Loooking at the code, there should be an image with a white border and by clicking on it, .wmv file opens. Which of these operations seems to be hindered in FF?
 
Sorry, its been a long day and I just wanted to get something down.

You're right, I have an image on a page, that once clicked will start the video. The display of the page is perfect, but when I try and start the video by clicking the link I get a windows media player message stating...
"Windows Media Player cannot play the file. If the file is on another computer, verify that you are connected to the network. If you typed a path, verify that it is correct. If the problem persists, the server might not be available."

Any ideas? I know the file location etc is correct as it works in IE. If I have to I will put the site live and test it that way.

Thanks
Ant
Ant
 
duh...guess not.

maybe try including the full path to the video.

-Jer
 
Then how comes it works in IE?

Surely it only needs a video location in relation to the file structure of the site and not a complete url?
 
It sounds like you are testing this HTML page just by opening it via the local file system (ie double-clicking it from within Windows Explorer). IE is ok with this but Firefox behaves differently and will not pass the file path correctly to Media Player.

To test properly you need to serve this web page via a web server (
--James
 
I'm going to mock up a test page later today so I'll progress from there I guess.

Thanks for your suggestions guys.

Ant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top