Results 1 to 7 of 7
  1. #1
    New Member
    Join Date
    Sep 2006
    Location
    france
    Posts
    4

    Streaming works with IE but not with mozilla firefox

    Hi,

    having the problem of being unable to stream mp4 from my web server i found the following code on the forum, which allows me to stream mp4 video clips.

    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="320" HEIGHT="256" >
    <PARAM NAME="src" VALUE="7Sins.mp4" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="QTMimeType.pntg" TYPE="image/x-macpaint"
    PLUGINSPAGE="http://www.apple.com/quicktime/download" QTSRC="7Sins.mp4" WIDTH="320" HEIGHT="256" AUTOPLAY="true">
    </EMBED>
    </OBJECT>

    When i open the web page with Internet explorer the video clip streams perfectly.

    However when i open the click with mozilla firefox, the clip does not play.

    web page http://www.rock-interactive.com/movies/untitled3.htm

    please advise

    brad

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    This has got me stumped. I tried your file on my own server and got the same problem. Unfortunately I've run out of time today but I thought the following page might be a good place to look for answers:
    http://developer.apple.com/documenta...ection_13.html

    I will try again when I get time, but if you do find an answer can you please let us know?
    Dave Owen
    MediaCollege.com

  3. #3
    New Member
    Join Date
    Sep 2006
    Location
    france
    Posts
    4

    Darwin server

    Hi,
    i looked at the window page you showed me and also looked at the following forum, which seems to indicate that if you wish to view mp4 streaming with mozilla firefox it is necessary for the client user to make some further installations on his machine.

    i donnot want our clips to be a hassle to view(ie having to make the user install further programs), it is already enough making quicktime necessary to view our video clips. i thought i could maybe add some code so that it is possible to view our clips with mozilla.

    please advise if someone knows how to solve this problem.

    My second query is if the darwin streaming server has any limits, as i am using it to stream my video clips and we can potentially 9if things go well) have many visitors. just want to make sure that we wont have problems if many people visit our website and view our clips.

    please advise
    kind regards
    bradley tosso

  4. #4
    New Member
    Join Date
    Sep 2006
    Location
    Argentina
    Posts
    8

    Try This, is work with your video

    The Code for both IE and FireFOX

    I am new here, I attach de javascript files:
    AC_ActiveX.js and AC_RunActiveContent.js
    You need both.

    It works very well in both explorers...

    Remember to change the URL for the video in your server...

    CODE for Web Page:

    Code:
    <script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    
    <body>
    
    <script type="text/javascript">
    AC_AX_RunContent( 'classid','clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B','codebase','http://www.apple.com/qtactivex/qtplugin.cab','width','320','height','256','src','7Sins.mp4','type','image/x-macpaint','pluginspage','http://www.apple.com/quicktime/download','qtsrc','7Sins.mp4','autoplay','true' ); //end AC code
    </script><noscript><OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="320" HEIGHT="256" >
    <PARAM NAME="src" VALUE="7Sins.mp4" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="QTMimeType.pntg" TYPE="image/x-macpaint"
    PLUGINSPAGE="http://www.apple.com/quicktime/download" QTSRC="7Sins.mp4" WIDTH="320" HEIGHT="256" AUTOPLAY="true">
    </EMBED>
    </OBJECT></noscript>
    Attached Files Attached Files

  5. #5
    New Member
    Join Date
    Sep 2006
    Location
    france
    Posts
    4
    Thankyou very much!!! it has worked

    now i can view the videos with both internet explorer and mozilla firefox.

    i added the script and html to the pages which display the video and put the scripts in a scripts file outside the movies file. thankyou very much.

    Do anyone know if the darwin streaming server has any limits, as i am using it to stream my video clips and we can potentially 9if things go well) have many visitors. just want to make sure that we wont have problems if many people visit our website and view our clips.

    kin regards
    Brad

  6. #6
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    Nice catch
    Dave Owen
    MediaCollege.com

  7. #7
    New Member
    Join Date
    Aug 2008
    Location
    Massachusetts
    Posts
    2
    Thanks for the JS code MAR. That did the trick and made it work and autoplay for me in Firefox. But I was on the phone with my client who sells computers, so him and his staff were able to check the site on various PCs and had a few errors... PC's that didn't have Quicktime installed to just plain weird errors. These are old/refurbished PC's, so anything could happen.

    So I went back to the standard embed code and things were working fine... but only in MSIE.

    Then, he suggested I make the short video "loop" and that made sense, so I did that. I meant to his refresh in MSIE, but did so in Firefox instead. I then realized that it was working just fine.

    Hmm, I thought for some weird reason it was adding the "loop" but I just tested and that's not actually the case. Seems I just forgot to put the file name into the embed src the first time.

    Code:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320"HEIGHT="180" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <PARAM name="SRC" VALUE="FILE-NAME-HERE.mp4">
    <PARAM name="AUTOPLAY" VALUE="true">
    <PARAM name="CONTROLLER" VALUE="false">
    <PARAM name="loop" value="true">
    <EMBED SRC="FILE-NAME-HERE.mp4" WIDTH="320" HEIGHT="180" AUTOPLAY="true" CONTROLLER="false" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
    </EMBED>
    </OBJECT>
    Using that slight variation worked fine for me in MSIE and the Fox!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Subscribe to us on YouTube