QUICK NAVIGATOR
PRODUCTS
TECHNOLOGIES
DEVELOPMENT TOOLS
* News
* Java Media Framework
* Intel Animation for Java
* Intel Spatial Audio for Java
* Runtime Software License
* SDK Software License
* System Requirements
* Download Area
* Documentation Online
* Gallery
* General FAQ
* Support Information

[INTEL NAVIGATION HEADER]

Java* Media Framework Tutorial - Lesson 1A

The Basic Player

The Java* Media Framework uses a generic interface called Player to display audio and visual media. Use the createPlayer() method of the Manager class to create an object that implements the Player interface. The Manager object then examines the URL and constructs the internal resources for this instance of the Player.

The Manager class can build a Player from numerous URL file types. To create a Player call:

Player myPlayer = Manager.createPlayer(new URL(getDocumentBase(), "clip.avi"));

  Tutorial Contents Next Lesson

View Source

 

This page was last updated on Feb 11th, 1997.

Legal Stuff

 

Free Web Hosting