Results 1 to 3 of 3
  1. #1

    error msg in Firefox

    Embedded code works fine in Netscape and IE but in Firefox i get a msg
    "Applet appObs notinited"

    any help would be appreciated.
    The code is as follows

    Code:
    <HTML>
    <HEAD>
    <TITLE>Embedded Windows Media Player 7 Control</TITLE>
    <SCRIPT LANGUAGE="JavaScript">
    function loader(){
       if ( navigator.appName == "Netscape" ) {
          var plugIn = document.MediaPlayer1;
          document.appObs.setByProxyDSScriptCommandObserver(plugIn,true);   
       }
    }
    </SCRIPT>
    
    </HEAD>
    <BODY BGCOLOR="#ffffff" onload="loader()">
    <OBJECT ID="MediaPlayer1" width=350 height=450 
       classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
       CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
            standby="Loading Microsoft® Windows® Media Player components..." 
            type="application/x-oleobject">
      <PARAM NAME="AutoStart" VALUE="True">
      <PARAM NAME="FileName" VALUE="http://link7.streamhoster.com/?u=Leena&p=%2FSecMgmt256K.wmv&odaid=4145&w=360&h=240&title=Easy+Video+Player">
      <PARAM NAME="ShowControls" VALUE="True">
      <PARAM NAME="ShowStatusBar" VALUE="True">
      <EMBED type="application/x-mplayer2" 
       pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
       SRC="http://link7.streamhoster.com/?u=Leena&p=%2FSecMgmt256K.wmv&odaid=4145&w=360&h=240&title=Easy+Video+Player"
       name="MediaPlayer1"
       width=350
       height=450
       autostart=1
       showcontrols=1>
      </EMBED>
    </OBJECT>  
    <script language="JavaScript">
    <!--
        if ( navigator.appName == "Netscape" ) 
        {
            navigator.plugins.refresh();
            document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class" )
            document.writeln(" width=5 height=5 name=appObs\x3E \x3C/applet\x3E")
         }
    //-->
    </script>
    <a HREF="http://link7.streamhoster.com/?u=Leena&p=%2FSecMgmt256K.wmv&odaid=4145&w=360&h=240&title=Easy+Video+Player">
        Start the streaming media presentation in the stand-alone Player.</a>
    	</BODY>
    </HTML>

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    The problem seems to be in line 8:
    document.appObs.setByProxyDSScriptCommandObserver(plugIn,true);

    I removed this line and the error message disappeared and the player worked in Firefox and IE. I don't know what it does to older versions of Netscape though. I'd give it a try and see what happens.
    Dave Owen
    MediaCollege.com

  3. #3
    New Member
    Join Date
    Jan 2007
    Location
    Key West,Fl
    Posts
    1

    Applet appObs notinited message

    I used to listen frequently to www.chantefrance.com through their their player (click on chantefrance en direct --GO).

    IE 7 was download to my computer via a MS Update and I started to get the error message Applet appObs notinited. I installed Firefox and switched to Firefox still get the same message which stops the player from loading.

    How can I get rid of this problem?

    Thanks very much

    GHansen

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