This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes Clubbing the executable HTML with an appletprogram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Clubbing the executable HTML with an appletprogram" Watch "Clubbing the executable HTML with an appletprogram" New topic
Author

Clubbing the executable HTML with an appletprogram

Comal Rajagopalaratnam Muthukumar
Ranch Hand

Joined: Mar 18, 2012
Posts: 88


Hello JavaRanch Colleagues

Having got two files at my C-Drive viz 1)SlideShowWMPlayer.html & a lenthy avi file (35 megabytes)

i wanted the slideshow to be seen via an applet and hence i made an applet program to display the same

But to my surprise the codes though very relevent since i got no error on compilation and

more surpising is that it gave happy message that applet started on execution and i was very eager to glimpse but all in vain no slideshow appeared ( invain) with the same message only that the applet started.....

So immediately i wrote to you colleagues for a positive help.

Please note that if i am able to make my html file work (which works easily on in an internet explorer but not

through the follwing programme.which if it works i may not find difficulites to send

the long AVI file via E-mail etc to friends in a less time.
Hope you will oblige to correct this progrm
Thanking You
As
CRMK

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
There are probably error messages in the Java Console - an AVI file is simply not an image, and trying to treat it as such is bound to fail. You would need to embed a media player component that can play AVIs in the applet.

I agree that sending a 35MB file by email would be a big mistake. The easiest solution is to put the file on an HTTP server and to email the link to everybody - so people can just grab the file and play it using whatever media player software they have already installed.


Ping & DNS - my free Android networking tools app
Comal Rajagopalaratnam Muthukumar
Ranch Hand

Joined: Mar 18, 2012
Posts: 88
Ulf Dittmer wrote:There are probably error messages in the Java Console - an AVI file is simply not an image, and trying to treat it as such is bound to fail. You would need to embed a media player component that can play AVIs in the applet.

I agree that sending a 35MB file by email would be a big mistake. The easiest solution is to put the file on an HTTP server and to email the link to everybody - so people can just grab the file and play it using whatever media player software they have already installed.



Hello

Please help me with an example as to be able to place my long file( .avi) in an HTTP server so that the link is easily seen by friends.Or please tell me how to classify a long file (.MPEG) in order to make it play in WindowMedaPlayer since such files are not able to be played in it for want of class registering as the WMPlayer on execution tells this error ivia dialoge message.
Thanking you
As
CRMK

Thanking You
As
CRMK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clubbing the executable HTML with an appletprogram