[WSG] Font Display Problem ... !
Hello, I have tried to built a site through valid XHTML CSS (although it is not 100% valid XHTML) I have a very strange problem with font displaying rendering (as my users have complained). Problem is that, when someone visits the site some time he sees the font a bit large (if they refresh the page, they are able to see the normal font) some time normal (as I want them to look at). Site address is : http://www.pakbill.net/genius http://www.pakbill.net/genius/style.css Can anybody guide me how could I fix this error ? Best wishes regards, -Khattak c: +92 (0333) 3273760 e: [EMAIL PROTECTED] w: http://www.naqoosh.com __ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Font Display Problem ... !
On Wed, 9 Mar 2005 00:42:13 -0800 (PST), Meraj Rasool Khattak [EMAIL PROTECTED] wrote: [...] I have a very strange problem with font displaying rendering (as my users have complained). Problem is that, when someone visits the site some time he sees the font a bit large (if they refresh the page, they are able to see the normal font) some time normal (as I want them to look at). Site address is : http://www.pakbill.net/genius http://www.pakbill.net/genius/style.css [...] The problem may be in part due to mixed bag of absolute and relative font-sizing on the same style sheet. Try this on the body: body {margin: 0;padding: 0;background: url(../images/bg_full.png);font-family: lucida grande, verdana, sans-serif; font-size: 100.01%;line-height: 150%;} Use % for font-size and line-height throughout the the style sheet to adjust individual elements, classes, and id s as necessary (it may get a little tricky when dealing with the cascade). Since you're only using one font-family, you can delete all further instances that family in the remainder of the style sheet. The declaration above the doctype ?xml version=1.0 encoding=UTF-8? is putting IE in quirks mode, and can be deleted. Regards, David -- de gustibus non est disputandum http://www.dlaakso.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Image at the bottom of a column
on 3/9/05 9:23 AM, Carlos Rincon Sanchez at [EMAIL PROTECTED] wrote: Hi all, I need to put an image at the bottom of a column. The web page has 3 colored columns using this: http://www.redmelon.net/tstme/3cols2/ I need something like this: http://www.neuroticweb.com/imagenes/pantallazo.gif Why don't you simply use it as a background image for the div? Try adding this to the left column css background: YOURCOLOR url(../images/YOURLOGO.jpg) no-repeat center bottom; you'll probably have to adjust the padding or space at the bottom to make sure whatever text you wind up putting in that column doesn't overlap the image underneath. others may have a cleaner solution. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Browser [Firefox IE] Navbar issues
Hello All, I'm new to the group. I'm having some coding issues on a site I'm creating. I'm using horizontal menus within a 2 column template. Here is the direct link to the page: http://www.aekituesday.com/interviews/index.html How can I get this to display correctly in both IE Firefox? Also, I'm experiencing sidebar issues. In IE it looks great. The sidebar is in perfect place but in Firefox it's not. Any ideas? Thanks, Jenny == Jenny Francois http://aekituesday.blogspot.com IM: aeki79 ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Image at the bottom of a column
On Wed, 09 Mar 2005 16:23:56 +0100, Carlos Rincon Sanchez [EMAIL PROTECTED] wrote: Hi all, I need to put an image at the bottom of a column. The web page has 3 colored columns using this: http://www.redmelon.net/tstme/3cols2/ An alternate to the background image approach, might be something like this: HTML div class=left h2Why this is cool:/h2 div id=navcontainerulliAny total width, easy to modify/li/ul /div img src= whatever.jpg height=? width=? alt=? title=? / /div CSS #navcontainer {?...} .left img { margin: 0 0 ?px ?px;} Best, David -- de gustibus non est disputandum http://www.dlaakso.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Image at the bottom of a column
On Wed, 09 Mar 2005 16:23:56 +0100, Carlos Rincon Sanchez [EMAIL PROTECTED] wrote: Hi all, I need to put an image at the bottom of a column. The web page has 3 colored columns using this: http://www.redmelon.net/tstme/3cols2/ I need something like this: http://www.neuroticweb.com/imagenes/pantallazo.gif Anyone knows how to make it? First we tried to put the image in the footer and then putting a margin-top negative. It works with firefox but it doesn't with iexplorer. You might find this - http://www.positioniseverything.net/piefecta-rigid.html - helpful. Cheers, pix http://www.pixeldiva.co.uk ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Problems with floats in IE
On Wed, 09 Mar 2005 17:07:28 +, Stuart Homfray [EMAIL PROTECTED] wrote: [...] Have a look at: http://www.stuarthomfray.co.uk/temp/WorkingPage.html (CSS: http://www.stuarthomfray.co.uk/temp/WorkingCSS.css) As to why it seems to work, I have no idea. Anyone? HTH Stuart Stuart, I regret to say Opera7.54u2 is not happy with it. Best, ~david -- de gustibus non est disputandum http://www.dlaakso.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Problems with floats in IE
David Laakso wrote: Stuart, I regret to say Opera7.54u2 is not happy with it. Best, ~david Absolutely - well spotted!! ;) (grins sheepishly) Seriously, stupid of me not to have checked before posting - the fieldset isn't clearing the submit button. I noticed that Tatham has an empty paragraph within the fieldset: if this is going to be utilised somewhere down the line, you could simply clear that - fieldset p { clear: both; } Just added it to style sheet posted previously! regards, Stuart ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Lime Green Bug On Mac IE
Thanks both Phillippe and Neerav for responding. Perhaps it was, as Phillippe suggests, my memory at fault, and the transparent/inherit problem I recalled was Netscape 4 not Mac IE5. I'm still waiting for the guy (he's interstate) to confirm the browser and version, but it's almost certainly going to be IE5 Mac or NN4 Mac. The problem is with the print stylesheet rather than the screen one. The problem can be observed, apparently, by using Print Preview on this page: http://www.abc.net.au/news/items/200503/1318290.htm?brisbane server-side geeks might be interested in that URL by the way, we've recently cooked up a kind of semi-dynamic publishing method to save multiple handling of the same story. Have You Validated Your Code? John Horner(+612 / 02) 9333 3488 Senior Developer, ABC Online http://www.abc.net.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Object Mp3 into FF
I dont know if it is ok to post this kind of question here. I am trying to play a simple Mp3 file in the server, it works in IE, and I have read that if something works on IE but not in other browsers it is most likely because it is not writen properly. I have tested it extensibly in my machine and it is working. I have used the deprecated embed tag and the object tag, both work on my computer and on IE on the server, but not on FF. Could some one take a look and help me find where I am making the mistake? Web references are good too. I have been searching for nearly 3 hours in different sites but none that I have found cover mp3, I even found a way around to embed Media Player in FF. Here is my code: OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B WIDTH=144HEIGHT=16 CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; PARAM name=SRC VALUE=MP3%20File.mp3 PARAM name=AUTOPLAY VALUE=true PARAM name=CONTROLLER VALUE=true EMBED SRC=MP3%20File.mp3 WIDTH=144 HEIGHT=16 AUTOPLAY=true CONTROLLER=true PLUGINSPAGE=http://www.apple.com/quicktime/download/; /EMBED /OBJECT TIA, Helmut ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Object Mp3 into FF
Helmut Granda wrote: Could some one take a look and help me find where I am making the mistake? Web references are good too. I have been searching for nearly 3 hours in different sites but none that I have found cover mp3, I even found a way around to embed Media Player in FF. How isn't it working? Your example code works for me on a local mp3 file, so it's probably to do with your particular configuration of Firefox, 1. First see whether Firefox is configured to use Quicktime correctly by typing about:plugins into your Firefox address bar. Here you can see mime-types and which applications are associated... so see if Quicktime is being referenced for the file extension and mime-type. 2. And then see whether your server is configured correctly and sending out the right http mime-type header (audio/x-mp3). You can use http://www.delorie.com/web/headers.html to check your server's response headers. If that doesn't work try stripping down your object to refer to mime-types rather than classids or codebases. This way if they've got Windows Media Player it will play mp3s in that, and if they've got Quicktime it'll play mp3s in that. This does mean supporting a few more parameters though as the ways of starting play aren't standardised but it's more likely to Just Work. ps. it's an old hack, but lying in the mime-type and using audio/wav gets past a lot of plugin screw-ups. pps. cool name. .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Re: Object Mp3 into FF
I dont know if it is ok to post this kind of question here. I am trying to play a simple Mp3 file in the server, it works in IE, and I have read that if something works on IE but not in other browsers it is most likely because it is not writen properly. I have tested it extensibly in my machine and it is working. I have used the deprecated embed tag and the object tag, both work on my computer and on IE on the server, but not on FF. Could some one take a look and help me find where I am making the mistake? Web references are good too. I have been searching for nearly 3 hours in different sites but none that I have found cover mp3, I even found a way around to embed Media Player in FF. Here is my code: OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B WIDTH=144HEIGHT=16 CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; PARAM name=SRC VALUE=MP3%20File.mp3 PARAM name=AUTOPLAY VALUE=true PARAM name=CONTROLLER VALUE=true EMBED SRC=MP3%20File.mp3 WIDTH=144 HEIGHT=16 AUTOPLAY=true CONTROLLER=true PLUGINSPAGE=http://www.apple.com/quicktime/download/; /EMBED /OBJECT TIA, Helmut // I apologize for stealing the previews thread. My mistake. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Problems with floats in IE
Stuart, I regret to say Opera7.54u2 is not happy with it. fieldset p { clear: both; } BTW: Latest Opera 8 beta has issue with floating fieldsets fixed (well, mostly). -- regards, Kornel Lesiski ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Dear Helmut, You have two errors. Line 2: A quoted string cannot be immediately followed by text. It must be followed by a space or the end of the tag. Line 7: The EMBED element cannot be used here. It is not contained in an element that allows its use. Regards, John S. Britsios Accessibility SEO Consultant, Usability Specialist Trainer Webnauts Net Koblenzer Str. 37a D-33613 Bielefeld Germany, EU Telephone: (+49) 0521 - 305 10 20 Cellular: (+49) 0163 - 202 55 61 Email: [EMAIL PROTECTED] Homepage: http://www.webnauts.net Discussion Forums: http://www.webnauts.net/phpBB2/ Designing with Accessibility, Search Engines Usability in Mind - Original Message - From: Helmut Granda [EMAIL PROTECTED] Cc: wsg@webstandardsgroup.org Sent: Wednesday, March 09, 2005 11:16 PM Subject: [WSG] Re: Object Mp3 into FF I dont know if it is ok to post this kind of question here. I am trying to play a simple Mp3 file in the server, it works in IE, and I have read that if something works on IE but not in other browsers it is most likely because it is not writen properly. I have tested it extensibly in my machine and it is working. I have used the deprecated embed tag and the object tag, both work on my computer and on IE on the server, but not on FF. Could some one take a look and help me find where I am making the mistake? Web references are good too. I have been searching for nearly 3 hours in different sites but none that I have found cover mp3, I even found a way around to embed Media Player in FF. Here is my code: OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B WIDTH=144HEIGHT=16 CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; PARAM name=SRC VALUE=MP3%20File.mp3 PARAM name=AUTOPLAY VALUE=true PARAM name=CONTROLLER VALUE=true EMBED SRC=MP3%20File.mp3 WIDTH=144 HEIGHT=16 AUTOPLAY=true CONTROLLER=true PLUGINSPAGE=http://www.apple.com/quicktime/download/; /EMBED /OBJECT TIA, Helmut // I apologize for stealing the previews thread. My mistake. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Thanks to John and Matthew to take the time to respond, I have tried all your suggestions, and still it didnt work, BUT I went ahead and uploaded the file to a different server and it works. Now! puts a big ? on my forehead, is there any specific reason or any specific setting that has to be done to enable qt movies to play in any browser? This seems really strange to me since I have the same files in 2 different servers and in one it works only in IE and in the other it works on IE and FF. Any suggestions would be greatly appreciated. Thank you Helmut. John Britsios wrote: Dear Helmut, You have two errors. Line 2: A quoted string cannot be immediately followed by text. It must be followed by a space or the end of the tag. Line 7: The EMBED element cannot be used here. It is not contained in an element that allows its use. Regards, John S. Britsios Accessibility SEO Consultant, Usability Specialist Trainer ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Matthew Cruickshank wrote: Helmut Granda wrote: Thanks to John and Matthew to take the time to respond, I have tried all your suggestions, I doubt it. AWWW, thanks for that :-P and still it didnt work, BUT I went ahead and uploaded the file to a different server and it works. The only difference I've ever seen on a server in Firefox is based on the mime-type. Did you really check that as I suggested? What's the difference in the headers between the servers? Server 1: works on IE only HTTP/1.1 200 OK Date: Wed, 09 Mar 2005 23:24:48 GMT Server: Apache/1.3.33 (Unix) Last-Modified: Wed, 09 Mar 2005 20:11:48 GMT ETag: 985415-29b5-422f5884 Accept-Ranges: bytes Content-Length: 10677 Connection: close Server 2:works on IE and FF HTTP/1.1 200 OK Date: Wed, 09 Mar 2005 23:25:03 GMT Server: Apache X-Powered-By: PHP/4.3.10 Connection: close also as a side note, when I deleted the embed tag it would not work in FF only in IE, so I had to place back the embed tag to make it work. Thanks again, Helmut.. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] positioning definition list elements site check needed
This is what I want to see in the footer of my pages: LOCATION:blah blah blah MAIL TO:blah blah blah PHONE:blah blah blah It seems to call for a definition list but I can't find a sensible way to get each pair of list items on its own line. If I make the dts and dds display:inline it all ends up on one line (until it wraps). If I make just the dts display:block, every element is on its own line. Using a separate dl for each inline dt dd works, but that seems silly. Isn't there a better way? Right now I've got them set to display:inline with a br / after each dd. It looks fine but the html won't validate because of the line breaks. I could use an unordered list, but then I'll need nbsp's after each colon to get the spacing that I want. Using a definition list allows me to add a margin or padding and seems more correct, semantically. Also...I'd really appreciate anyone with a Mac and IE5 on a PC checking this site for any scary stuff. The homepage is http://www.blinn.edu/sbdc. tia, Carol See the bottom of: http://www.blinn.edu/sbdc/about.htm http://www.blinn.edu/sbdc/template_css.css ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Helmut Granda wrote: Server 1: works on IE only HTTP/1.1 200 OK Date: Wed, 09 Mar 2005 23:24:48 GMT Server: Apache/1.3.33 (Unix) Last-Modified: Wed, 09 Mar 2005 20:11:48 GMT ETag: 985415-29b5-422f5884 Accept-Ranges: bytes Content-Length: 10677 Connection: close Server 2:works on IE and FF HTTP/1.1 200 OK Date: Wed, 09 Mar 2005 23:25:03 GMT Server: Apache X-Powered-By: PHP/4.3.10 Connection: close Huh? So you're saying both servers don't return a Content-Type? What's the url? (and in the meantime complain to the admins of the boxes) The content-length of the first one seems a little small. 10677 bytes is only about a second of audio. also as a side note, when I deleted the DEFANGED_embed tag it would not work in FF only in IE, so I had to place back the DEFANGED_embed tag to make it work. This works for me in Firefox and IE / Quicktime and Media Player, object type=audio/wav data=audio/s001.mp3 param name=filename value=audio/s001.mp3/ /object .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Matthew Cruickshank wrote: Huh? So you're saying both servers don't return a Content-Type? What's the url? (and in the meantime complain to the admins of the boxes) The content-length of the first one seems a little small. 10677 bytes is only about a second of audio. also as a side note, when I deleted the DEFANGED_embed tag it would not work in FF only in IE, so I had to place back the DEFANGED_embed tag to make it work. This works for me in Firefox and IE / Quicktime and Media Player, object type=audio/wav data=audio/s001.mp3 param name=filename value=audio/s001.mp3/ /object Here are the site tests that I am doing Doesnt work on IE or FF: IE- Fails Server 1 http://www.hamsterballstudios.com/extrafiles/vo/volaunch2.html FF - Fails Server 2 http://www.multimedia247.net/mp3test/volaunch2.html --- IE not working - Same file in different server - Server 1 http://www.hamsterballstudios.com/extrafiles/vo/volaunch3.html FF - Working - Server 2 http://www.multimedia247.net/mp3test/volaunch3.html Thanks for all your help. It is really appreciated. Helmut. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] positioning definition list elements site check needed
Carol t wrote: This is what I want to see in the footer of my pages: LOCATION:blah blah blah MAIL TO:blah blah blah PHONE:blah blah blah Hi Carol, I was able to get this by using the following: #footerwrap dl { /* all the stuff you had plus: */ overflow: auto; } #footerwrap dt { float: left; font-weight: bold; clear: both; } #footerwrap dd { float: left; margin-left: 16px; } Also...I'd really appreciate anyone with a Mac and IE5 on a PC checking this site for any scary stuff. The homepage is http://www.blinn.edu/sbdc. Sorry, but can't help you with these... -Erik ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Re: [off-list] positioning definition list elements site check needed
Btw, this is something that I would definitely avoid having in my javascript files: function pasuser(form) { //password form if (form.pass.value==support) {location=referrals2.htm} else {alert (The password you entered is incorrect. Please try again. For more information call (979)830-4137) }} I noticed it in the script.js file that is referenced in your about.htm file. The real problem is that the password is in clear text and readable by any client... I don't know where it came from since it doesn't seem to apply to this page, but you usually want to handle password scripting on the server. Or at least use a hash mechanism to make it a little harder... -Erik ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Helmut Granda wrote: Here are the site tests that I am doing Doesnt work on IE or FF: IE- Fails Server 1 http://www.hamsterballstudios.com/extrafiles/vo/volaunch2.html Ok... this site is producing vastly different to the headers you previously posted. There's now - perhaps magically - a content-type. As that was the bit I was asking about I'm guessing you just didn't post that bit last time or something. Christ... The mp3 http://tinyurl.com/6dz8u is sent with these headers (note: text/plain), HTTP/1.1 200 OK Date: Thu, 10 Mar 2005 01:01:59 GMT Server: Apache/1.3.33 (Unix) Last-Modified: Wed, 09 Mar 2005 00:46:13 GMT ETag: 9853fa-1a51f5-422e4755 Accept-Ranges: bytes Content-Length: 1724917 Connection: close Content-Type: text/plain FF - Fails Server 2 http://www.multimedia247.net/mp3test/volaunch2.html The mp3 http://tinyurl.com/44ptd is sent with these headers (note: audio/mpeg, which is more correct) HTTP/1.1 200 OK Date: Thu, 10 Mar 2005 01:04:06 GMT Server: Apache Last-Modified: Wed, 09 Mar 2005 22:53:33 GMT ETag: 57c00d-1a51f5-422f7e6d Accept-Ranges: bytes Content-Length: 1724917 Connection: close Content-Type: audio/mpeg Soget hamsterballstudios.com to return the correct content-type (audio/x-mp3), and then work on the html. This HTML works in Firefox and IE for me, http://www.multimedia247.net/mp3test/volaunch3.html , but fails validation. Get your html to validate - that's half of the problem (well that and the mime headers which have mysteriously reappeared). To get Firefox compatibility there's no need for the older embed tag, provided your object tags are good (previously posted example code works, as do many others). 1. fix your http headers 2. then fix your html .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Matthew, Thank you very much for taking the time to respond and help. Your links are great resource! One thing is for sure that the server www.multimedia.net will play in IE and FF because it has the mp3 headers correct, while www.hamsterballstudios.com has the headers incorrectly. So to recap. 1. headers in multimedia247.net are set up properly 2. headers in hamsterballstudios.com are not set up correctly 3. code does not validate - solution 1. fix the headers in hamsterballstudios.com 2. fix HTML So my fears that the server in hamsterballstudios.com is not set up correctly which is the clients server. Thanks again, I really appreciate it. Helmut Matthew Cruickshank wrote: Helmut Granda wrote: Here are the site tests that I am doing Doesnt work on IE or FF: IE- Fails Server 1 http://www.hamsterballstudios.com/extrafiles/vo/volaunch2.html Ok... this site is producing vastly different to the headers you previously posted. There's now - perhaps magically - a content-type. As that was the bit I was asking about I'm guessing you just didn't post that bit last time or something. Christ... The mp3 http://tinyurl.com/6dz8u is sent with these headers (note: text/plain), HTTP/1.1 200 OK Date: Thu, 10 Mar 2005 01:01:59 GMT Server: Apache/1.3.33 (Unix) Last-Modified: Wed, 09 Mar 2005 00:46:13 GMT ETag: 9853fa-1a51f5-422e4755 Accept-Ranges: bytes Content-Length: 1724917 Connection: close Content-Type: text/plain FF - Fails Server 2 http://www.multimedia247.net/mp3test/volaunch2.html The mp3 http://tinyurl.com/44ptd is sent with these headers (note: audio/mpeg, which is more correct) HTTP/1.1 200 OK Date: Thu, 10 Mar 2005 01:04:06 GMT Server: Apache Last-Modified: Wed, 09 Mar 2005 22:53:33 GMT ETag: 57c00d-1a51f5-422f7e6d Accept-Ranges: bytes Content-Length: 1724917 Connection: close Content-Type: audio/mpeg Soget hamsterballstudios.com to return the correct content-type (audio/x-mp3), and then work on the html. This HTML works in Firefox and IE for me, http://www.multimedia247.net/mp3test/volaunch3.html , but fails validation. Get your html to validate - that's half of the problem (well that and the mime headers which have mysteriously reappeared). To get Firefox compatibility there's no need for the older embed tag, provided your object tags are good (previously posted example code works, as do many others). 1. fix your http headers 2. then fix your html .Matthew Cruickshank http://holloway.co.nz/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Re: Object Mp3 into FF
Helmut Granda wrote: So to recap. 1. headers in multimedia247.net are set up properly 2. headers in hamsterballstudios.com are not set up correctly 3. code does not validate - solution 1. fix the headers in hamsterballstudios.com 2. fix HTML So my fears that the server in hamsterballstudios.com is not set up correctly which is the clients server. Yeah, that's right. As hamsterballstudios.com is sending it as "text/plain" Firefox will pass it to the plugin for "text/plain" rather than the plugin for "audio/x-mp3" or "audio/mpeg". As Firefox can't handle a plugin of "text/plain" nothing will happen. You can see how your Firefox is configured for plugins by typing "about:plugins" into your Firefox address bar -- this will tell you what's installed. But yeah, you need to fix the headers on the server to get Firefox to work. Fixing the headers can be done at the webserver level, or - if you've got PHP installed - you could do something like, ?php $pathToFile = "path"; header ("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header ("Content-Type: audio/x-mp3"); header ("Content-Length: " . filesize($pathToFile)); header ("Content-Disposition: attachment; filename=$pathToFile"); readfile($pathToFile); ? (If you use this, make sure there's no whitespace on either side of the ?php ... ? As for step 2, This HTML works for me on a server that responds to mp3 files with "audio/x-mp3" object type="audio/wav" data="" param name="filename" value="audio/s001.mp3"/ /object ps. the reason why IE works is that it ignores the mime-type, and follows this logic, If the server returns a content-type, IE will remember that. However, IE also runs the beginning of the stream through a 'buffer check' to verify whether the data actually looks like the content-type being passed to it. If IE thinks the content-type is invalid, it'll just ignore it and do whatever else it can to parse the data, including falling back on the extension of the URL given. -- http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp .Matthew Cruickshank http://holloway.co.nz/