Java applet failed when I try to load the avi file in my java applet

K

Krista

Hi everyone,
I am a new person in Java and JMF. I tried to use HTML to run the
class of the SimplePlayerApplet.java that is posted in java.sun.com.

html:
<applet code=SimplePlayerApplet.class width=320 height=300>
<param name=file value="sun.avi">

I got a java applet failed. I am not sure where should i put the
sun.avi file? The SimplePlayerApplet.class and sun.avi are in my
desktop. Is it right as <param name=file value="sun.avi">? Sometimes,
i will see people write as <param name=file value="file
usr/local/media/sun.avi">?? Where is the local? in the server? I need
help.....Please!!!!

Thanks

Krista
 
A

Andrew Thompson

I am a new person in Java and JMF. I tried to use
HTML to run the class of the SimplePlayerApplet.java

I will help you further if you make a post
on the group for those starting in Java
programming, further described here..
<http://www.physci.org/codes/javafaq.jsp#cljh>

But what? You're a
1) beginner
2) dealing with applets
3) that require an extra package.

You have some stress ahead. ;-)
 
K

Krista

Hi, you mean I should post the question in comp.lany.java.help? I just
copy the file from java.sun.com and try to compile it. But it doesn't
work. It makes me headaches. Do you put the right location? Should I
put the .class file and the .avi file at the same place such as
desktop? Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top