
Signature
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
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