JMF 2.1.1 supports HotMedia 2.0 content in two ways:
With JMF installed, a user viewing a web site that contains HotMedia 2.0 content will experience a shorter delay in starting the presentation of the content. This is achieved by bundling the HotMedia 2.0 components with JMF, which eliminates the need to download them each time. Any new HotMedia components encountered on a server but not installed on the client are automatically downloaded and used by JMF. (Such components are only used for the current session; they are not permanently installed.)
JMF 2.1.1 provides a standard Player that supports HotMedia 2.0 content. This Player is constructed through the standard JMF Manager factory mechanism. The HotMedia Player provides HotMedia's standard GUI as its
ControlPanelComponent. It also exposes two additional
Event objects and one custom
ReplaceURLEvent. You are responsible for responding to the event and creating a new HotMedia Player for the new file. You can choose what to do with the old Player--for example, you might continue playing or stop playback and destroy the Player.
ShowDocumentEvent. You are responsible for responding to the event andopening a browser to display the HTML page. For an applet, you can get the context in which the HTML should be displayed (sameframe, new window, etc.) by calling
getStringon theevent, which returns the associated context string.
com.ibm.media.controls.ParametersControlis a custom
Controlexposed by a HotMedia Player. This
Controlenables you to set external parameters using the
setmethod. These external parameters are usually set via the HTML's applet parameters. For more information about the HotMedia parameters, see the HotMedia documentation on the IBM web site.