Media Player  1.6.0

BLOBkit Javascript Library > player
Search:
 
Filters

Module: player

Media Player for BLOBbox

configurationObject

uri:
String, the uri to playback inside the player
top:
Integer, the top grid reference in which position the player when not in full screen mode
left:
Integer, the left grid reference in which position the player when not in full screen mode
fullscreen:
Boolean, if true the player automatically starts in fullscreen (default: false)
switchKey:
String, the name of the button (according with the remote control model) that automatically enter and exit the full screen mode; it works only if disableRemote is false, or if switchKey is not null (default: 'OK')
autoplay:
Boolean, if true the player automatically starts the playback as soon as it has been initialized (default: true)
noLittleHole:
Boolean, if true disable the player from automatically add the mask hole in front of the video; a blue screen mask with #0000ff color must be manually added in order to see the movie in the background (default: false)
disableRemote:
Boolean, if true prevent the player from listening to the remote control buttons and does not initialize the remote control with the event model (default: false)
width:
Integer, the width in pixels of the video player when not in full screen (default: half the width of the screen)
height:
Integer, the height in pixels of the video player when not in full screen (default: half the height of the screen)

List of events

TVB.player.events.player:
TVB.player.events.play:
TVB.player.events.stop:
TVB.player.events.pause:
TVB.player.events.buffering:
TVB.player.events.rewinding:
TVB.player.events.fast_forwarding:
TVB.player.events.end_of_streaming:
TVB.player.events.starting_playback:

Available uri schema

Every schema supported by the BLOBbox is supported by the video player.

The following have been tested:

  • http://
  • file:///mnt/storage/sm-core/media/RELATIVE_PATH (for content in the media archive)
  • dvb://ONID.TSID.SID
  • rtsp:// (only on hardware that supports rtsp)

This module contains the following classes:


Copyright © 2010 TVBLOB S.r.l. All rights reserved. The BLOBkit library is a resource ofBLOBforge.