Realaudio doplay netscape mozilla

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lucien

    Realaudio doplay netscape mozilla

    I have trouble using JavaScript to access an embedded real audio in
    netscape navigator 7.1 and mozilla 1.4 and 1.5 (It seems to work in NS 4.7)

    Eg.

    <EMBED NAME=javademo SRC="test.rpm" WIDTH=220 HEIGHT=180 CONSOLE=one
    CONTROLS=ImageW indow BACKGROUNDCOLOR =white
    MAINTAINASPECT= true>

    <!-- Form Buttons using JavaScript Controls-->

    <FORM>
    <INPUT TYPE="button" VALUE="Play"
    onClick="docume nt.javademo.DoP lay()">
    </form>

    The javascript error: "document.javad emo.DoPlay is not a function"
    any suggestions?

    Luciano



  • VK

    #2
    Re: Realaudio doplay netscape mozilla

    Did they drop <embed> for <object> starting v5? I personally did not use
    <embed> for years so I'm not 100% sure.

    Try document.embeds[0].DoPlay() instead.
    If not, try <object>


    Comment

    • Martin Honnen

      #3
      Re: Realaudio doplay netscape mozilla



      Lucien wrote:
      [color=blue]
      > I have trouble using JavaScript to access an embedded real audio in
      > netscape navigator 7.1 and mozilla 1.4 and 1.5 (It seems to work in NS 4.7)
      >
      > Eg.
      >
      > <EMBED NAME=javademo SRC="test.rpm" WIDTH=220 HEIGHT=180 CONSOLE=one
      > CONTROLS=ImageW indow BACKGROUNDCOLOR =white
      > MAINTAINASPECT= true>
      >
      > <!-- Form Buttons using JavaScript Controls-->
      >
      > <FORM>
      > <INPUT TYPE="button" VALUE="Play"
      > onClick="docume nt.javademo.DoP lay()">
      > </form>
      >
      > The javascript error: "document.javad emo.DoPlay is not a function"
      > any suggestions?[/color]

      A plugin that allows scripting with Netscape 4 doesn't support scripting
      with Netscape 7 so you need to check whether there is a new version of
      the Real Player plugin that allows scripting with Netscape 7.
      --

      Martin Honnen


      Comment

      • Lucien

        #4
        Re: Realaudio doplay netscape mozilla

        same problem ....

        VK wrote:[color=blue]
        > Did they drop <embed> for <object> starting v5? I personally did not use
        > <embed> for years so I'm not 100% sure.
        >
        > Try document.embeds[0].DoPlay() instead.
        > If not, try <object>
        >
        >[/color]

        Comment

        • Lucien

          #5
          Re: Realaudio doplay netscape mozilla

          I have the latest version of RealOne installed. It is a Javascript
          callback problem. I can play Realaudio files but I can't call the plugin
          with javascript. Any help would be appreciated.
          Lucien

          Martin Honnen wrote:
          [color=blue]
          >
          >
          > Lucien wrote:
          >[color=green]
          >> I have trouble using JavaScript to access an embedded real audio in
          >> netscape navigator 7.1 and mozilla 1.4 and 1.5 (It seems to work in NS
          >> 4.7)
          >>
          >> Eg.
          >>
          >> <EMBED NAME=javademo SRC="test.rpm" WIDTH=220 HEIGHT=180 CONSOLE=one
          >> CONTROLS=ImageW indow BACKGROUNDCOLOR =white
          >> MAINTAINASPECT= true>
          >>
          >> <!-- Form Buttons using JavaScript Controls-->
          >>
          >> <FORM>
          >> <INPUT TYPE="button" VALUE="Play"
          >> onClick="docume nt.javademo.DoP lay()">
          >> </form>
          >>
          >> The javascript error: "document.javad emo.DoPlay is not a function"
          >> any suggestions?[/color]
          >
          >
          > A plugin that allows scripting with Netscape 4 doesn't support scripting
          > with Netscape 7 so you need to check whether there is a new version of
          > the Real Player plugin that allows scripting with Netscape 7.[/color]

          Comment

          • dancos

            #6
            Re: Realaudio doplay netscape mozilla


            I had all the problems you described in your message.

            I find this page on Real Site:
            Welcome to the home of RealPlayer®, a media player app by RealNetworks®. Features include a video downloader, audio recording, and CD ripping. Official Site.


            you can see that the Real Object embedded in the page works fine wit
            control buttons (Play, Pause, Stop, GetState, etc...)

            After looking this page I understand that my problem was on the name o
            the embedded object (i called the object "Player1").
            I simply changed object name and now it works fine!

            I attach the txt file with source code of the embedded player wit
            controls button.

            I hope this will help you!


            Bye
            Daniele



            Lucien Wrote:[color=blue]
            > I have the latest version of RealOne installed. It is a Javascript
            > callback problem. I can play Realaudio files but I can't call th
            > plugin
            > with javascript. Any help would be appreciated.
            > Lucien
            >
            > Martin Honnen wrote:
            >
            >
            >
            > Lucien wrote:
            >
            > I have trouble using JavaScript to access an embedded real audio in
            > netscape navigator 7.1 and mozilla 1.4 and 1.5 (It seems to work i
            > NS
            > 4.7)
            >
            > Eg.
            >
            > EMBED NAME=javademo SRC="test.rpm" WIDTH=220 HEIGHT=180 CONSOLE=one
            > CONTROLS=ImageW indow BACKGROUNDCOLOR =white
            > MAINTAINASPECT= true
            >
            > !-- Form Buttons using JavaScript Controls--
            >
            > FORM
            > INPUT TYPE="button" VALUE="Play"
            > onClick="docume nt.javademo.DoP lay()"
            > /form
            >
            > The javascript error: "document.javad emo.DoPlay is not a function"
            > any suggestions?
            >
            >
            > A plugin that allows scripting with Netscape 4 doesn't suppor
            > scripting
            > with Netscape 7 so you need to check whether there is a new versio
            > of
            > the Real Player plugin that allows scripting with Netscape 7[/color]

            +-------------------------------------------------------------------
            |Filename: playback1.txt
            |Download: 2553
            +-------------------------------------------------------------------

            --
            dancos

            Comment

            • kokul

              #7
              Re: Realaudio doplay netscape mozilla


              Are you shure that the problem was the name of the object? I tried th
              link below with mozilla 1.5 but it didn't work. Same thing with firefo
              or opera.
              only netscape 7.1 worked fine. I think the javascript functions fro
              the RealPlayer only work proper with the IE.

              dancos Wrote:[color=blue]
              > I had all the problems you described in your message.
              >
              > I find this page on Real Site:
              > http://tinyurl.com/6bv8s
              >
              > you can see that the Real Object embedded in the page works fine wit
              > control buttons (Play, Pause, Stop, GetState, etc...)
              >
              > After looking this page I understand that my problem was on the name o
              > the embedded object (i called the object "Player1").
              > I simply changed object name and now it works fine!
              >
              > I attach the txt file with source code of the embedded player wit
              > controls button.
              >
              > I hope this will help you!
              >
              >
              > Bye
              > Daniel[/color]

              --
              kokul

              Comment

              Working...