|
JMF 2.1.1 supports HotMedia 2.0 content in two ways:
Viewing Web sites with HotMedia 2.0 Content
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.)
Using the HotMedia 2.0 JMF Player
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
HotMedia Player EventsThe HotMedia Player exposes two events in addition to the standard JMF events:
This event indicates that a hot link to a new MVR file has occurred. The new MVR file name can be retreived by calling getURL
on the 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.
This event indicates that a hot link to an HTML page has occurred. The page's URL can be retreived by calling getURL
on the 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 getString on theevent, which
returns the associated context string.HotMedia Player Controlscom.ibm.media.controls.ParametersControl is a custom
Control exposed by a HotMedia Player. This
Control enables you to set external parameters using the
set method. 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.
| |||
|
| ||||||||||||