Clear Up
SharpKit Reference

Media Class

Namespace: Ext

Base Types

System.Object

Constructors

Name Description
Media(MediaConfig)
Media()

Properties

Name Description
extend Provides a base class for audio/visual controls. Should not be used directly.
xtype Provides a base class for audio/visual controls. Should not be used directly.

Methods

Name Description
initialize()
isPlaying() Returns if the media is currently playing @return {Boolean} playing True if the media is playing
onActivate()
onDeactivate()
pause() Pauses media playback
play() Starts or resumes media playback
toggle() Toggles the media playback state
updateEnableControls(object) Updates the controls of the video element.
updateLoop(object) Updates the loop setting of the media element.
updateUrl(object) Sets the URL of the media element. If the media element already exists, it is update the src attribute of the element. If it is currently playing, it will start the new video.
© Copyright 2005-2011 SharpKit. All rights reserved.