CorePlayerX Media Player Plug-in v1.3
for Windows running IE/FireFox/Mozilla/Netscape/Opera9

Version History

  • 2006-01-11  1.2 Documentation and CAB update for initial COSP support
  • 2006-01-05  1.1 Bug Release
  • 2006-01-03: 1.0 Public Demo, Mozilla Plugin added
  • 2005-12-28: 0.0 Internal Release

Known Bugs

  • JavaScript error when leaving FireFox page. Pop-up states:
    [JavaScript Application]
    Could Not Open URL!
  • Opera: Undefined shows in left metadata table
  • Opera: No video controls shown
     

Description
The CorePlayerX Web Browser plug-in for windows* running Internet Explorer, FireFox, Netscape, Mozilla, Opera 9. Is a tightly  integrated and fully licensable playback solution for Multimedia content that can be embedded in any standard web browser. CorePlayerX can handle any audio, video, picture, podcast you can imagine. It also has the ability to playback 3D images using our COSP (Core OS Panorama) plugin.

* Future version will feature FireFox running on the Linux and Safari on OS X.
 

Baseline CAB File type Support
CorePlayerX has in its baseline .CAB file all free decoders for embedded multimedia playback. These file formats are:
Audio: OGG, Shoutcast support, MKA, MPC, Speex, FLAC, AMR, u-law, Wav
Video: Theora, MKV, Dirac, OGM
Pictures: JPG, PNG, TIFF, MJPEG
Multimedia: COSP, SVG

 

Additional Codec Support
CoreCodec offers custom versions of CorePlayerX for websites or third party licensees that wish to bundle it within their products.

Email license@corecodec.com for more information

 

Webmaster usage
We take the stand that we want to give you the ULTIMATE CONTROL of  whatever multimedia controls is seen and or not seen. So with that we provide you with two separate ways you can embedded CorePlayerX into any given webpage.

1 - Give the plugin control:  let it do all the heavy lifting and have everything you need for playback
2 - Webmaster domination:  For the web gurus who like to tinker and have ultimate control... we give you that ability. Here are a few examples:

- Want a micro installer for podcast playback? Done...
- Want just a video window with a looped video and no controls? Done..
- Want to set a small window size and only a play/pause button? Done..
- Want to show dynamic content (ads, banners)? Done..
- Want to embed a shoutcast stream into your webpage? Done..

As you can see.. the possibilities are endless and as we progress further with later version we will add more of the features you are requesting.
 

Webpage Usage

ActiveX
<object
    id="tcpmpCtl"
    classid="CLSID:16E107F7-8331-4FEE-A8AC-5D272C3F2070"
    codebase="http://coreplayerx.coreforge.org/cpx.cab"
    width="320"
    height="240">
  <param name="URL" value="http://yourdomain/yourfile" />
  <param name="AutoStart" value="false" />
</object>

Netscape/Mozilla/FireFox
<object
    id="tcpmpCtl"
    type="application/tcpmp-plugin"
    width="320"
    height="240">
</object>

 

 

API Reference

 

Metadata Tags

  • "time"="metatotaltime"
  • "author"="metaartist"
  • "website"="metawebsite"
  • "comments"="metacomments"
     

Events

Not raised in Mozilla.
PlaybackUpdate(float position)
This event is raised every second during playback to give an update on the position within the playing stream.
PlaybackError(int code, string msg)
This event may be raised at any time to signal an error. The error can be from any number sources such as an unsupported codec, unable to read the current url, or an invalid file format..
PlaybackMetadataUpdate()
This event is raised when metadata changes, such as an url change, or tag reading.
PlaybackBufferUnderrun()
This event is raised when the buffer runs out and the player has to pause playback to refill the buffer.
 

Methods

Open(string url)
Open a file or url for playback. Url can be a local file or a http url.
This is the functional equivalent to setting the URL property.
Stop
Stop playback.
Pause
Pause playback.
ShowOptions
Shows the options dialog. The users can change various options relating to the player including the buffer size.
string GetCommentByName(string name)
Get a comment by name. Returns the value of comment as a string.
string GetStreamCodec(int index)
Get the name of the codec for a stream.
int GetStreamType(int index)
Get the type of a stream.
 
  • 0 = None
  • 1 = Video
  • 2 = Audio
  • 3 = Subtitle
int GetStreamBitrate(int index)
Get the bitrate of a stream.
In kbit/s.
float GetStreamFramerate(int index)
Get the framerate of a stream.
 

Properties

Properties usually can be assigned both using a param tag or javascript.

bool Fullscreen
When set to true the video goes into fullscreen mode.
bool Controls
True when controls are visible. Set to false to hide controls.
bool Playing (readonly)
True when playing, false if paused or stopped.
float Duration (readonly)
float Position
int Volume
Sets the player volume. The valid range is 0 to 100, with 100 the loudest and 0 is muted.
int BufferSize
bool Repeat
bool AutoPlay
This property is only really useful as a param tag. When true the player will start playback when the page is loaded.
string URL
Get or set the currently loaded file. Can be a internet url or a local file path.
string Title (readonly)
string Artist (readonly)
string Album (readonly)
string Language (readonly)
string Year (readonly)
string Genre (readonly)
string Comment (readonly)
string Track (readonly)
int StreamCount (readonly)
The number of steams in the currently loaded file.
string PlaybackUpdateCallback
Name of the function to callback when the PlaybackUpdate event is signaled.
string PlaybackErrorCallback
Name of the function to callback when the PlaybackError event is signaled.
string PlaybackMetadataUpdateCallback
Name of the function to callback when the PlaybackMetadataUpdate event is signaled.
string PlaybackBufferUnderrunCallback
Name of the function to callback when the PlaybackBufferUnderrun event is signaled.

 

Keyboard shortcuts

Key Action
Up arrow Increases the volume
Down arrow Decreases the volume
Right arrow Skips the file forward 10 seconds
Left arrow Jumps the file back 10 seconds
Space bar Plays and pauses the file playback
M Mutes the sound
F Makes the video go fullscreen
O Brings up the options menu
ESC Returns to normal view in fullscreen mode.
R Toggles the current file to repeat


Coming Soon

We will soon have a few base template files for you to choose from.  More 'help' documentation.
 

License

For more information on licensing CorePlayerX, send an email to license@corecodec.com