Abstract base class for the HTML5 media components.
|
|
|
|
|
setSource(self,
source)
Sets a single media file as the source of the media component. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
setShowControls(self,
showControls)
Sets whether or not the browser should show native media controls. |
source code
|
|
|
|
|
|
|
setAltText(self,
text)
Sets the alternative text to be displayed if the browser does not
support HTML5. |
source code
|
|
|
|
getAltText(self)
Returns:
The text/html that is displayed when a browser doesn't support HTML5. |
source code
|
|
|
|
setHtmlContentAllowed(self,
htmlContentAllowed)
Set whether the alternative text (setAltText) is rendered as HTML or not. |
source code
|
|
|
|
|
|
|
setAutoplay(self,
autoplay)
Sets whether the media is to automatically start playback when enough
data has been loaded. |
source code
|
|
|
|
|
|
|
setMuted(self,
muted)
Set whether to mute the audio or not. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from abstract_component.AbstractComponent:
__getstate__,
__setstate__,
addCallback,
addListener,
addStyleName,
attach,
changeVariables,
childRequestedRepaint,
detach,
fireComponentErrorEvent,
fireComponentEvent,
fireEvent,
fireRequestRepaintEvent,
focus,
getApplication,
getCSSHeight,
getCSSWidth,
getCaption,
getComponentError,
getData,
getDebugId,
getDescription,
getErrorHandler,
getErrorMessage,
getHeight,
getHeightUnits,
getIcon,
getListeners,
getLocale,
getParent,
getStyle,
getStyleName,
getWidth,
getWidthUnits,
getWindow,
handleError,
hasListeners,
isEnabled,
isImmediate,
isReadOnly,
isVisible,
paint,
parseStringSize,
registerCallback,
registerListener,
removeCallback,
removeListener,
removeStyleName,
requestRepaint,
requestRepaintRequests,
setCaption,
setComponentError,
setData,
setDebugId,
setDescription,
setEnabled,
setErrorHandler,
setHeight,
setHeightUnits,
setIcon,
setImmediate,
setLocale,
setParent,
setReadOnly,
setSizeFull,
setSizeUndefined,
setStyle,
setStyleName,
setVisible,
setWidth,
setWidthUnits,
withdrawCallback,
withdrawListener
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|