FireFox/NS Display ASX as code

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

FireFox/NS Display ASX as code

Postby Ratscull » Wed 25 Aug, 2004 2:27 pm

Hi All,
I'm a web developer, but don't deal with media much. I have a series of .asx (really .wax) and .ram files that work fine in IE. The .ram files work fine in NS and FF, too. But the .asx files just display the code in netscape and firefox.

I wasn't doing an embedded player - just allowing the player to launch externally. Do I have to do an embedded player to let users hear the windows audio files (without the users knowing anything about plugins)? Or is there something I can do on the server end that would let the .asx files work?
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Ratscull
new member
new member
 
Posts: 1
Joined: Wed 25 Aug, 2004 2:19 pm

Postby Fulvio » Wed 25 Aug, 2004 2:56 pm

I have been going batty with .asx and .wax files. And, I learned quite a bit, in the process. I had this problem, because I did not want to launch Windows Media Player. The files work fine if WMP is enabled. But, if disabled, a number of things have happened, and, in no case which ever player was selected played immediately. Music Match was the best, and it was launched, but did not play, unless I had the item in the playlist.
Basically, .asx and .wax are playlist files, and their success to play streaming media, relies on the presence of a link, in the player. In some cases an introductory 10-20 sec clip played first, but failed to continue. I found out that by launching the link from the desktop, the streaming was .wma format. But, in my case it is solely a case when I disable WMP.
So, the short answer, yes, it could be the server.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
A minority may be right, and a majority is always wrong
~ Henrik Ibsen
WinXP, SP3, 512 MB, SM2.9.1, FF12, TB12.0.1, IE8.0, Google Chrome18, Ghostwall , Avast 7.x, JRE1.7_04. Testing FF13b3
User avatar
Fulvio
Moderator
Moderator
 
Posts: 11915
Joined: Wed 19 Jun, 2002 10:08 am

Postby akbash » Wed 25 Aug, 2004 3:20 pm

It sounds like your server is misidentifying the file, giving it an incorrect mimetype.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040823 Firefox/0.9.1+
akbash
silver member
silver member
 
Posts: 364
Joined: Mon 09 Feb, 2004 9:13 pm

Postby Alice » Wed 25 Aug, 2004 3:46 pm

See if any of these pages help:

http://www.nwlink.com/~zachd/pss/pss.html#mime
Q: Can I serve an ASF/WMA/WMV from my (fill-in-the-blank) web server?
...link to: http://msdn.microsoft.com/library/defau ... l/mime.asp
MIME Type Settings for Windows Media Services

http://www.javascriptkit.com/howto/htaccess9.shtml
Comprehensive guide to .htaccess/ Adding mime types

http://devedge.netscape.com/viewsource/2003/mime-types/
Properly Configuring Server MIME Types
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
User avatar
Alice
Mozilla Champion
Mozilla Champion
 
Posts: 1790
Joined: Sun 21 Jul, 2002 8:57 am

Postby sleeper » Thu 14 Jun, 2007 1:50 pm

obviusly im way late on this, but I dont see how this was resolved. a listen link for shoutcast that works perfict in IE and opens up the players and the player starts thats how its suposed to work. Yet in the firfox world were they cant let anything work the way it should it opens these links in another tab or page showing the coding for the playlist that should be opening the player. Now for some reason theres alot of people that use firfox wich I compltly just dont understand why, but I think he was asking how do you make these links work in firefox like they do in IE.

Jim
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
sleeper
new member
new member
 
Posts: 1
Joined: Thu 14 Jun, 2007 1:45 pm


Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]