Clear Up
SharpKit Reference

Video Class

Namespace: Ext

Base Types

System.Object

Constructors

Name Description
Video(VideoConfig)
Video()

Properties

Name Description
extend Provides a simple Container for HTML5 Video. * # Useful Properties * - {@link #url} - {@link #autoPause} - {@link #autoResume} * # Useful Methods * - {@link #pause} - {@link #play} - {@link #toggle} * # Example code: * var panel = new Ext.Panel({ fullscreen: true, items: [ { xtype : 'video', x : 600, y : 300, width : 175, height : 98, url : "porsche911.mov", posterUrl: 'porsche.png' } ] }); *
xtype Provides a simple Container for HTML5 Video. * # Useful Properties * - {@link #url} - {@link #autoPause} - {@link #autoResume} * # Useful Methods * - {@link #pause} - {@link #play} - {@link #toggle} * # Example code: * var panel = new Ext.Panel({ fullscreen: true, items: [ { xtype : 'video', x : 600, y : 300, width : 175, height : 98, url : "porsche911.mov", posterUrl: 'porsche.png' } ] }); *

Methods

Name Description
initialize()
onGhostTap() @private Called when the {@link #ghost} element is tapped.
updatePosterUrl(object) Updates the URL to the poster, even if it is rendered. @param {Object} newUrl
© Copyright 2005-2011 SharpKit. All rights reserved.