Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java applet failed when I try to load the avi file in my java applet

Reply
Thread Tools

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

 
 
Krista
Guest
Posts: n/a
 
      09-13-2004
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
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      09-14-2004
On 13 Sep 2004 16:20:14 -0700, Krista wrote:

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

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
 
 
 
Krista
Guest
Posts: n/a
 
      09-14-2004
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



Andrew Thompson <> wrote in message news:<>.. .
> On 13 Sep 2004 16:20:14 -0700, Krista wrote:
>
> > 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.

 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      09-15-2004
On 14 Sep 2004 12:58:24 -0700, Krista wrote:

> Hi, you mean I should post the question in comp.lany.java.help?


That is what I recommend.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Applet Failed to Load MrFile Java 2 08-20-2005 09:25 AM
Try, Try, Try, again... Rick12N4@netscape.net Computer Support 3 01-29-2005 04:02 PM
aspnet_wp.exe stops- "An error occurred while try to load the string resources (GetModuleHandle failed with error 126)." Stan ASP .Net 1 08-30-2003 11:57 AM
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888) Marco Gerlach ASP .Net 1 08-07-2003 07:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57