Add to Google

Audio Streaming - How do I make it work for Firefox?

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Audio Streaming - How do I make it work for Firefox?

darran
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:

CODE
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="player" width="280" height="50">
            <param name="url" value="someurl"/>
            <param name="src" value="someurl"/>
            <param name="showcontrols" value="true"/>
            <param name="showstatusbar" value="true"/>
            <param name="autostart" value="true"/>
            </object>
            <object type="video/x-ms-wmv"
             data="someurl" width="280" height="50">
              <param name="src" value="someurl"/>
              <param name="autostart" value="true"/>
              <param name="controller" value="true"/>
              <param name="showstatusbar" value='1'/>
            </object>


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.

 

 

 


Reply

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

Reply

darran
<Embed> instead of <Object>?

Is <Embed> recognised on other browsers such as Safari and Opera? I do know that it works for IE though

Reply

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

Notice from jlhaslip:
Edit to remove duplicate data.

Reply

darran
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?

Reply

michaelper22
QUOTE(darran @ Jan 5 2007, 10:26 PM) *

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.

Reply

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


Reply

michaelper22
QUOTE(jlhaslip @ Jan 6 2007, 07:41 PM) *

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.

Reply

darran
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 smile.gif

Reply

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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. streaming audio for firefox - 9.42 hr back. (1)
  2. streaming radio firefox - 11.73 hr back. (1)
  3. flash audio streaming embed - 16.04 hr back. (1)
  4. free flash media player and streaming audio and objects - 22.77 hr back. (1)
  5. how to take streaming audio with firefox - 25.97 hr back. (1)
  6. why is radio stream not working in firefox - 28.32 hr back. (1)
  7. firefox streaming radio - 29.19 hr back. (1)
  8. radio stream firefox - 50.77 hr back. (1)
  9. firefox streaming audio - 55.02 hr back. (1)
  10. param html audio streaming - 55.85 hr back. (1)
  11. how firefox handles embed tag - 59.69 hr back. (2)
  12. firefox music stream - 67.92 hr back. (1)
  13. determine streaming audio address with firefox - 70.11 hr back. (1)
  14. problems with audio streaming firefox - 73.52 hr back. (1)
Similar Topics

Keywords : audio streaming firefox

  1. Help With Website Layout Correction For All Browsers - Page gets larger on Firefox 2 (4)
  2. Help Aligning My Site Into The Centre In Firefox - site aligns to the centre in ie but not in firefox (5)
    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);     }
      </...
  3. Firefox Script Problem - (5)
    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....
  4. Anchor Tag Compliance Issue? - Firefox is tiny, IE and Opera okay (5)
    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....



Looking for Audio, Streaming

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for Audio, Streaming

*MORE FROM TRAP17.COM*
advertisement



Audio Streaming - How do I make it work for Firefox?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
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.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE