There is a problem with internet radio streaming in firefox, it seems to be working well in IE but in firefox it just does not play at all. This is the code I am using:
someurl in the link stands for the streaming .asx file. Can some expert in media API tell me what can I do to make this code work for Firefox and IE 7? Thanks in advance.
Try using another tag, like embed, and see if that will then play on FF. That's normally what I use with Quicktime files. Yes, not fancy, but it plays on any browser.
The <object> tag works specifically in IE (and Netscape, which incudes and activeX plugin). The main reason it doesn't work in Firefox is because of the same reason Firefox is safer than IE: Firefox just doesn't support ActiveX controls, which are embedded in a document with the <object> tag.
So <object> is containing a plugin which is not viewable for Firefox I presume? What does <embed> contain? Does it contain ActiveX as well which will not be viewable by Firefox too?
So <object> is containing a plugin which is not viewable for Firefox I presume? What does <embed> contain? Does it contain ActiveX as well which will not be viewable by Firefox too?
I don't know exactly how Firefox handles the <object> tag, but the basic idea is that Firefox won't render it. I am guessing that if you load a page that contains an <object>, then Firefox will just ignore it. The alternative to <object> for firefox is probably <embed>, whose usage I am not totally familiar with.
Although this Embed an Object Hack tutorial deals with Flash, use a similar approach and you should get the audio to work regardless of the Browser. The Hack is to use both an object and an embed tag together. Unfortunately, this seems to be a universally acceptable method of incorporating "embedded objects". The downside is that the page won't validate, so unless it is imperative that the page is (x)html valid, this seems to be the method to use.
Although this Embed an Object Hack tutorial deals with Flash, use a similar approach and you should get the audio to work regardless of the Browser. The Hack is to use both an object and an embed tag together. Unfortunately, this seems to be a universally acceptable method of incorporating "embedded objects". The downside is that the page won't validate, so unless it is imperative that the page is (x)html valid, this seems to be the method to use.
That method does work. I have seen that done many times. I may look into this a bit more for you; I'll probably try find a site that uses one or the other implementation of embedded objects.
What is the difference between flash and asx? Is it simply the file extension? I don't think people want to validate a web player page. Hopefully you can find a site which uses this
Flash is now-Adobe's animation tool, and ASX is Microsoft's video streaming technology. Typically ASX is used for opening streaming media files quickly in Windows Media Player.
I'm developing a new layout and so far, in my opinion, everything's going fine except for
one thing. That's the way in which the whole layout is aligned. In IE6, the entire thing aligns
beautifully in the centre whereas in firefox, it aligns leftwards. To get around this so far I'm
using this java script: CODE <script type="text/javascript"> if
(screen.width > 880 && navigator.appName !== "Microsoft Internet
Explorer") { window.resizeTo(880,window.screen.availHeight); }
</...
Why Firefox can't scripting on below script:- CODE <center><a
href='http://www.yahoo.com'>Yahoo!</a></center> If correct,
the webpage should run "Yahoo!" at the center. When I using Internet Explorer, it run
correctly, but when I using Firefox, the "Yahoo!" will go to the left side. Who know this,
please explain to me and show me the introdution to make "Yahoo!" to center by using Firefox and
Internet Explorer browser....
I have a string of anchor tags arranged as a menu bar horizontally on a page. Pretty basic stuff is
included in the css to give some colour and rollover colour change. The page links have been in
place in the Html code and all are tested and confirmed accurate. This topic has to do with the
browser only,( I think). I mention this in case there might be concerns about the anchor tags being
correctly coded. Yes, they are good. So I modified the css to get it looking the way I thought was
correct for the page in terms of placement, Background colour, rollover effect, etc....
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.