|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite com.bramosystems.oss.player.core.client.AbstractMediaPlayer com.bramosystems.oss.player.uibinder.client.PlayerWrapper<DivXPlayer> com.bramosystems.oss.player.uibinder.client.DivXPlayer
Player
, will be removed in future.
public class DivXPlayer
Wrapper class for DivXPlayer
providing UiBinder support.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:player='urn:import:com.bramosystems.oss.player.uibinder.client'>
...
<player:DixXPlayer autoplay='true' height='20px' width='100%'
mediaURL='GWT-HOST::media.mp3' />
...
</ui:UiBinder>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.bramosystems.oss.player.uibinder.client.PlayerWrapper |
---|
missingPluginNotice, missingPluginVersionNotice |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
DivXPlayer(java.lang.String mediaURL,
boolean autoplay,
java.lang.String height,
java.lang.String width)
Deprecated. The constructor |
Method Summary | |
---|---|
protected DivXPlayer |
initPlayerEngine(java.lang.String mediaURL,
boolean autoplay,
java.lang.String height,
java.lang.String width)
Deprecated. Called by the constructor to create the player implementation wrapped by this widget |
Methods inherited from class com.bramosystems.oss.player.uibinder.client.PlayerWrapper |
---|
addToPlaylist, addToPlaylist, addToPlaylist, addToPlaylist, clearPlaylist, getEngine, getLoopCount, getMatrix, getMediaDuration, getPlaylistSize, getPlayPosition, getVideoHeight, getVideoWidth, getVolume, isControllerVisible, isResizeToVideoSize, isShuffleEnabled, loadMedia, onLoad, pauseMedia, play, playMedia, playNext, playPrevious, removeFromPlaylist, resolveMediaURL, setConfigParameter, setControllerVisible, setLoopCount, setMatrix, setPlayPosition, setResizeToVideoSize, setShowLogger, setShuffleEnabled, setVolume, showLogger, stopMedia |
Methods inherited from class com.bramosystems.oss.player.core.client.AbstractMediaPlayer |
---|
addDebugHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addLoadingProgressHandler, addMediaInfoHandler, addMouseDownHandler, addMouseMoveHandler, addMouseUpHandler, addPlayerStateHandler, addPlayStateHandler, addToPlayerReadyCommandQueue, fireDebug, fireError, fireLoadingProgress, fireMediaInfoAvailable, firePlayerStateEvent, firePlayStateEvent, getRate, getRepeatMode, getWidgetFactory, isPlayerOnPage, removeFromPlayerReadyCommandQueue, setConfigParameter, setConfigParameter, setRate, setRepeatMode |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
@UiConstructor public DivXPlayer(java.lang.String mediaURL, boolean autoplay, java.lang.String height, java.lang.String width)
mediaURL
- the URL of the media to playbackautoplay
- true
to autoplay, false
otherwiseheight
- the height of the player (in CSS units)width
- the width of the player (in CSS units)Method Detail |
---|
protected DivXPlayer initPlayerEngine(java.lang.String mediaURL, boolean autoplay, java.lang.String height, java.lang.String width) throws LoadException, PluginNotFoundException, PluginVersionException
PlayerWrapper
initPlayerEngine
in class PlayerWrapper<DivXPlayer>
mediaURL
- the resolved URL of the media to playbackautoplay
- true
to autoplay, false
otherwiseheight
- the height of the player (in CSS units)width
- the width of the player (in CSS units)
LoadException
- if an error occurs while loading the media.
PluginNotFoundException
- if the required plugin is not installed on the client.
PluginVersionException
- if the required plugin version is not installed on the client.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |