com.bramosystems.oss.player.uibinder.client
Class QuickTimePlayer

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.bramosystems.oss.player.core.client.AbstractMediaPlayer
                  extended by com.bramosystems.oss.player.uibinder.client.PlayerWrapper<QuickTimePlayer>
                      extended by com.bramosystems.oss.player.uibinder.client.QuickTimePlayer
All Implemented Interfaces:
MatrixSupport, PlaylistSupport, HasMediaMessageHandlers, HasMediaProgressHandlers, HasMediaStateHandlers, HasPlayStateHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

Deprecated. Replaced with Player, will be removed in future.

public class QuickTimePlayer
extends PlayerWrapper<QuickTimePlayer>

Wrapper class for QuickTimePlayer providing UiBinder support.

Usage Example

 <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:QuickTimePlayer autoplay='true' height='20px' width='100%'
                 mediaURL='GWT-HOST::media.mp3' />
         ...
 </ui:UiBinder>
 

Since:
1.1
Author:
Sikiru Braheem

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
QuickTimePlayer(java.lang.String mediaURL, boolean autoplay, java.lang.String height, java.lang.String width)
          Deprecated. The constructor
 
Method Summary
protected  QuickTimePlayer 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

QuickTimePlayer

@UiConstructor
public QuickTimePlayer(java.lang.String mediaURL,
                                     boolean autoplay,
                                     java.lang.String height,
                                     java.lang.String width)
Deprecated. 
The constructor

Parameters:
mediaURL - the URL of the media to playback
autoplay - true to autoplay, false otherwise
height - the height of the player (in CSS units)
width - the width of the player (in CSS units)
Method Detail

initPlayerEngine

protected QuickTimePlayer initPlayerEngine(java.lang.String mediaURL,
                                           boolean autoplay,
                                           java.lang.String height,
                                           java.lang.String width)
                                    throws LoadException,
                                           PluginNotFoundException,
                                           PluginVersionException
Deprecated. 
Description copied from class: PlayerWrapper
Called by the constructor to create the player implementation wrapped by this widget

Specified by:
initPlayerEngine in class PlayerWrapper<QuickTimePlayer>
Parameters:
mediaURL - the resolved URL of the media to playback
autoplay - true to autoplay, false otherwise
height - the height of the player (in CSS units)
width - the width of the player (in CSS units)
Returns:
the player implementation
Throws:
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.


Copyright © 2009-2011. All Rights Reserved.