473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

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=ImageWindow BACKGROUNDCOLOR=white
MAINTAINASPECT=true>

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

<FORM>
<INPUT TYPE="button" VALUE="Play"
onClick="document.javademo.DoPlay()">
</form>

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

Luciano

Jul 20 '05 #1
6 3048
VK
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>
Jul 20 '05 #2


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 in NS 4.7)

Eg.

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

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

<FORM>
<INPUT TYPE="button" VALUE="Play"
onClick="document.javademo.DoPlay()">
</form>

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


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
http://JavaScript.FAQTs.com/

Jul 20 '05 #3
same problem ....

VK wrote:
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>


Jul 20 '05 #4
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:


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 in NS
4.7)

Eg.

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

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

<FORM>
<INPUT TYPE="button" VALUE="Play"
onClick="document.javademo.DoPlay()">
</form>

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

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.


Jul 20 '05 #5

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
Daniele

Lucien Wrote:
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=ImageWindow BACKGROUNDCOLOR=white
MAINTAINASPECT=true

!-- Form Buttons using JavaScript Controls--

FORM
INPUT TYPE="button" VALUE="Play"
onClick="document.javademo.DoPlay()"
/form

The javascript error: "document.javademo.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


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

--
dancos
Jul 23 '05 #6

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


--
kokul
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sims | last post by:
Hi, if i use... // php $info = getenv("HTTP_USER_AGENT"); // I noticed that Mozzila and Netscape <6(?) both use the same Agent. // so i was thinking of if...
1
by: mark.reichman | last post by:
I have text fields in my form with the same name. I can reference the value of these fields in IE 6.0 like with document.form.field.value. However, netscape 4.7 seems to croak. Why? What is the...
4
by: Marco | last post by:
I made an html-page with this line in it: <A HREF="http://www.bla.com" onClick="javascript:window.close()" target="moeder">link</A> It works very well in Internet Explorer, but in Netscape 7...
15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
9
by: rez | last post by:
I find it rather frustrating that Netscape 4.x is "no longer supported:" http://help.netscape.com/products/client/communicator/reflib.html Same seems true with IE. How am I ever supposed to...
2
by: MV | last post by:
Hi, I want to try and get a lottery type script to run in these two browsers before i put it on my site. It runs OK in I.E.6 and my friend says it works in netscape 7 so i can't see the problem...
2
by: Kevin Ly | last post by:
Consider the test case below. The onmouseout event does NOT fire when my mouse/cusor is moved off the left side of the browser. It does if it is moved off the top, bottom, and the right side that...
7
by: David Laub | last post by:
I have stumbled across various Netscape issues, none of which appear to be solvable by tweaking the clientTarget or targetSchema properties. At this point, I'm not even interested in "solving"...
10
by: News | last post by:
I have a page up trying to learn how to ID a browser and other info. http://wyght.com/warren/testPos.html here is the code <script type = "text/javascript"> var space = ", "; var name...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.