Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

plugins

Thread view: 
Ron Croonenberg - 02 Jun 2006 16:04 GMT
Hello,

We have a summer student project here and part of that project is to
build a plugin. (A plugin "a la" a sound player. The player needs to be
"plugged in" for a "session" automatically and do something with data.
(I won't go in all the details)

We like to embed it in a webpage like :

<EMBED
src="http://website/data/summer.dat"
width=100
height=100
type="application/x-control-data"
pluginspage="http://website/summer/getdataplayer
</EMBED>

question is,  is the an example (skeleton) on how to build a plugin and
how does the pluginspage need to be made ?

thanks,

Ron
Chris Smith - 05 Jun 2006 03:18 GMT
> We have a summer student project here and part of that project is to
> build a plugin. (A plugin "a la" a sound player. The player needs to be
> "plugged in" for a "session" automatically and do something with data.
> (I won't go in all the details)

Please do go into more details.  That description of a "plugin" doesn't
sound like the normal use of the word.  What exactly do you want?

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

Ron Croonenberg - 05 Jun 2006 23:01 GMT
Ok,

basically we want the same thing as  the flash/shockwave plugin for
playing .swf files in a webpage (using embed).
The "plugin" needs to be downloaded and embedded in the html page
automatically.

similar to this:
<EMBED
src="http://lads.myspace.com/mini/mini.swf?b=OTc1NjM3&o=ODM3ODYzMw==&d=MTE0OTUyMDAwOQ
==&u=aHR0cDovL211c2ljcGxheWVyLm15c3BhY2UuY29tLw==&i=MA==&a=VHJ1ZQ
=="
quality=high WIDTH="295" HEIGHT="51" NAME="mp3player" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>

Only for the value of src we are going to use a file with data.
the plugin is an apllication for handling the data with some user
interaction.

I am looking for a very simple example for the plugin and the pluginspage.

(I hope the example above doesn't start playing here)

thanks,

Ron

>>We have a summer student project here and part of that project is to
>>build a plugin. (A plugin "a la" a sound player. The player needs to be
[quoted text clipped - 3 lines]
> Please do go into more details.  That description of a "plugin" doesn't
> sound like the normal use of the word.  What exactly do you want?
Chris Smith - 06 Jun 2006 02:33 GMT
> basically we want the same thing as  the flash/shockwave plugin for
> playing .swf files in a webpage (using embed).
> The "plugin" needs to be downloaded and embedded in the html page
> automatically.

Okay, so there are two ways of approaching this:

1. Look at the proprietary APIs for integrating your code into Internet
Explorer or Netscape.  This can't be done in pure Java, as all of the
interesting parts will use native code.

2. More relevantly to this newsgroup, write an applet.  Your users will
need to have the Java Plugin installed, rather than your custom plugin.  
The Java Plugin will load and run your code, which will be able to load
and display the data.

If you want #2, look up applets and feel free to ask more specific
questions here.  Otherwise, you may have a look around for newsgroups
that are relevant for writing plugin code for IE and Netscape.

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.