On Thursday 16 April 2009 10:00:06 [email protected] wrote: > <html><body> > <EMBED SRC="noise.wav" autostart=0></EMBED> > </body></html> > > I'm trying to use this snippet of code to embed a sound. I can't persuade > FF or Epiphany to respect the autostart attribute. I've tried variations > such as autostart=["0"|0|"false"|false|etc] but to no avail. > > BTW, the same code works correctly for both IE and Firefox on Mac and > Windows, so it really looks like a Linux problem :( > > Otherwise, what am I doing wrong?
The world got complicated and you may not 'just do' this, also Watch your syntax! <EMBED SRC ... (CAPS illegal!) http://www.w3schools.com will take you on a journey the end of which is blurred. This DOES work on linux-firefox <embed height="30px" width="50px" src="lassbeg.mid" autostart="false" loop="false"> BUT the validator bitches! James ################################################################## # Error Line 14, Column 41: Attribute "src" exists, but can not be used for this element. …mbed height="30px" width="50px" src="lassbeg.mid" autostart="false" loop="fal ✉ You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. # Error Line 14, Column 65: Attribute "autostart" is not a valid attribute …ht="30px" width="50px" src="lassbeg.mid" autostart="false" loop="false"> ✉ You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. # Error Line 14, Column 78: Attribute "loop" is not a valid attribute. Did you mean "onkeydown" or "onkeyup"? …="lassbeg.mid" autostart="false" loop="false"> ✉ You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
