Jump to content
Science Forums

Problem with Firefox


TINNY

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • 2 weeks later...

"

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...