TINNY Posted December 9, 2004 Report Posted December 9, 2004 While I was doing a bit of video streaming, I somehow could not use the "<object>" tag for certain tasks and view in Firefox. It only worked when the object was a picture. For videos, sites, flash and some more, it somehow ignores the tag. Everything is perfectly fine with IE though. No wonder I was having so much trouble with the video streaming... check this out for example and compare between IE and Firefox: http://www.w3schools.com/media/tryit.asp?filename=trymedia_webpageobject Quote
Freethinker Posted December 9, 2004 Report Posted December 9, 2004 Without looking further, when something woks in IE but not other browsers is usually because of using non-standard html. IE will accept html tags that do not comply with industry standards (Imagine, M'soft not following industry standards, who'da thought?) For standards based coding of object tag: http://www.w3.org/TR/WD-object-970218 Quote
TINNY Posted December 10, 2004 Author Report Posted December 10, 2004 i'm sure it complies with w3c standards. it was not my code but from the w3schools.com website. you should try the link. maybe it just doesn't work on my computer. Quote
Tormod Posted December 10, 2004 Report Posted December 10, 2004 Tinny, excactly what kind of file are your trying to stream? And does your server support streaming? If not, then you may have to force a download instead. I know with mp3 files and mov files I sometimes see them as streaming files, sometimes as downloads, depending on the server I guess. Quote
TINNY Posted December 10, 2004 Author Report Posted December 10, 2004 I'm not trying to stream anything here. i just asked you to try out that link with your firefox and IE and see if there's any difference because it seems on my computer that it is doesn't work on firefox. the code and page is not mine. it's from that website (w3 schools). nothing to do with streaming here. Quote
alexander Posted December 13, 2004 Report Posted December 13, 2004 you could just go back to good old img/applet/iframe the code in the link rewritten:<html> <body> <h2>Web Page AS Object</h2> <iframe height="100%" width="100%" src="http://www.w3schools.com" scrolling=auto frameborder=1> </iframe> </body> </html>as to not being able to view anything, firefox sees the object and interprets it, if you dont beleive me go to that page, execute the code then go tools, page info, Media, you should see http://www.w3schools.html be identified as an object... I can see where this can be a security volnurability maybe, so they could just block object tags... Quote
alexander Posted December 13, 2004 Report Posted December 13, 2004 hey, check this out, firefox tests to determine whether or not object tags work propperly...http://www.mozilla.org/quality/browser/front-end/testcases/oji/objecttests.html hey i figured out what was going wrong before too, check this out... <html> <body> <h2>Web Page AS Object</h2> <object height="100%" width="100%" data="http://www.w3schools.com" type="text/html"> </object> </body> </html> anyways, check this out too, this is mozillas page on using web standards:http://www.mozilla.org/docs/web-developer/upgrade_2.html you have to have a type attrib in your object tag... Quote
TINNY Posted December 13, 2004 Author Report Posted December 13, 2004 alex, i read somewhere in that website that w3c recommends the <object> tag, not the <iframes>, img,applet, or embed tags. But you're right - i should just use the old tags. they should work in all browsers except the <img dynsnc> which is only IE. Quote
alexander Posted December 13, 2004 Report Posted December 13, 2004 alex, i read somewhere in that website that w3c recommends the <object> tag, not the <iframes>, img,applet, or embed tags. But you're right - i should just use the old tags. they should work in all browsers except the <img dynsnc> which is only IE. Good old ways are good, but you can use the object tags, you just have to read through that little article which i provided a link for, you should use web standards for all the coding, as i said, applet tags are really bad to use, you can easily use objects to solve the problem, just remember to have the right things in them... Quote
alexander Posted December 13, 2004 Report Posted December 13, 2004 by things i mean arguments and values... Quote
TINNY Posted December 24, 2004 Author Report Posted December 24, 2004 somehow my Firefox can't view .mht (MIME HTML) files. Anyone know why? Quote
alexander Posted December 25, 2004 Report Posted December 25, 2004 "WHAT IS WEB ARCHIVE FORMAT (*.MHT)? When you save a Web page as "Web archive," the Web page saves this information in Multipurpose Internet Mail Extension HTML (MHTML) format with a .mht file extension. All relative links in the Web page are remapped and the embedded content is included in the .mht file, rather than being saved in a separate folder. The absolute references or hyperlinks on the Web page remain unchanged and the .mht file is viewed using Internet Explorer.MHTML enables you to send and receive Web pages and other HTML documents using e-mail programs such as Microsoft Exchange, Microsoft Outlook, and Microsoft Outlook Express. MHTML enables you to embed images directly into the body of your e-mail messages rather than attaching them to the message."First of all, notice all the microsoft stuff? chances are that mht is a microsoft-made extension so who wants to use it anyways, plus microsoft label ads costs of using it... Second this is an extension that allows sending html pages over the email, that is wrong in most cases and it drives me insane trying to read through some stuff that one of my friends sends me... remember, email is supposed to be plain TEXT! and from reading the end of that message, it seems like its your mail clients problem not firefox(well actually its not a problem, because you can pretty easily spread viruses through any thing but you can't through plain text), i'm not sure, but thunderbird might give you a hand with this. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.