Click to See Complete Forum and Search --> : WMV File trouble - Please Help
Chaos
03-03-2004, 07:01 AM
I have a wmv file link on a page, and until recently it worked perfectly popping up in a player. Suddenly, one day all the file linked to was grabbled text. Unable to effectively address the issue, I embedded the file, which actually worked, however this solution does not work for users on a Mac...and I need not just a cross browser solutions but a cross OS one as well.
Any suggestions?
Thanks
crh3675
03-03-2004, 07:55 AM
Use ASX files. Instead of targeting your WMV file, create a file and call it "video.asx". Here is your content:
<asx version = "3.0">
<title>Your Title</title>
<entry clientskip="no">
<title>Clip title</title>
<ref href = "http://your_location_to_wmv_file.wmv" />
</entry>
</asx>
Then target the ASX file.
Chaos
03-03-2004, 08:32 AM
Craig-
Thanks for the help. I created the video.asx file and referenced my wmv location. However the link opens up the video.asx file and it is simply a blank page.
http://www.whitewatergroup.com/media_launch_whitewater_asx.htm
You can take a look at this page the Media Player icon links to the video.asx page which references the location of the wmv file. I tried referencing the entire location http://www........... as well as a relative reference to the structer on the server. Any more insight? Any help is greatly appreciated.
crh3675
03-03-2004, 08:37 AM
Your server may need to be configured to push out the correct Content-type for the ASX file.
crh3675
03-03-2004, 08:39 AM
The Content-type is
video/x-ms-asf
does your server support any server0side scripting?
If it supports ASP, you can do this:
<%@language="VBScript"%>
<%
Response.ContentType="video/x-ms-asf"
%>
<asx version = "3.0">
<title>Whitewater Challenge</title>
<entry clientskip="no">
<title>Clip title</title>
<ref href = "/media/whitewater_cut__ms.wmv"/>
</entry>
</asx>
or PHP
<?php
header("Content-type:video/x-ms-asf");
?>
<asx version = "3.0">
<title>Whitewater Challenge</title>
<entry clientskip="no">
<title>Clip title</title>
<ref href = "/media/whitewater_cut__ms.wmv"/>
</entry>
</asx>
But you will have to rename your file extenstion to it's respectable server-side language:
.asp or .php
ray326
03-03-2004, 12:24 PM
Originally posted by Chaos
I have a wmv file link on a page, and until recently it worked perfectly popping up in a player. Suddenly, one day all the file linked to was grabbled text. Unable to effectively address the issue, I embedded the file, which actually worked, however this solution does not work for users on a Mac...and I need not just a cross browser solutions but a cross OS one as well.
Any suggestions?
Thanks
That kind of failure is ALWAYS a server configuration problem. The server is sending the stream with the wrong content type.