PowerUI.HtmlVideoElement Class Reference

Detailed Description

Handles a video. Note that videos can also be used for the css background-image property. You must also set the height and width of this element using either css or height="" and width="".

Inheritance diagram for PowerUI.HtmlVideoElement:
PowerUI.HtmlMediaElement PowerUI.HtmlElement

Public Member Functions

override bool OnAttributeChange (string property)
 
override void OnChildrenLoaded ()
 

Properties

ImagePackage RawImage [get]
 The underlying image package. Can be null. More...
 
string height [get, set]
 The height attribute. More...
 
string poster [get, set]
 The poster attribute. More...
 
ulong videoHeight [get]
 The video frame height of the image in CSS pixels. More...
 
ulong videoWidth [get]
 The video frame width of the image in CSS pixels. More...
 
string width [get, set]
 The width attribute. More...
 
override MovieTexture video [get]
 The source movie texture. More...
 
- Properties inherited from PowerUI.HtmlMediaElement
string src [get, set]
 The src attribute. More...
 
string mediaGroup [get, set]
 The mediagroup attribute. More...
 
bool loop [get, set]
 The loop attribute. More...
 
- Properties inherited from PowerUI.HtmlElement
ComputedStyle ComputedStyle [get]
 This nodes computed style. More...
 
RenderableData RenderData [get]
 This nodes render data. More...
 
string contentEditable [get, set]
 An enumerated version of the contenteditable attribute. More...
 
bool isContentEditable [get, set]
 Is this element content editable? More...
 
bool HasBackground [get]
 True if this element has some form of background applied to it. More...
 
virtual bool IsFormResettable [get]
 Does this element get reset with the form? More...
 
virtual bool IsFormSubmittable [get]
 Does this element get submitted with the form? More...
 
virtual bool IsFormListed [get]
 Does this element list in form.elements? More...
 
virtual bool IsFormLabelable [get]
 Can this element have a label? More...
 
HtmlDocument contentDocument [get]
 Applies to iframes. The document contained in the iframe itself. More...
 
int scrollLeft [get, set]
 The amount of pixels the content of this element is scrolled horizontally. More...
 
int scrollTop [get, set]
 The amount of pixels the content of this element is scrolled vertically. More...
 
int contentHeight [get]
 The height of the content inside this element. More...
 
int contentWidth [get]
 The width of the content inside this element. More...
 
int pixelHeight [get]
 The height of this element. More...
 
int pixelWidth [get]
 The width of this element. More...
 
long offsetHeight [get]
 The height of this element. More...
 
long offsetWidth [get]
 The width of this element. More...
 
Element offsetParent [get]
 The parent that offsetTop and offsetLeft are relative to. More...
 
long offsetTop [get]
 The top offset relative to the offsetParent. More...
 
long offsetLeft [get]
 The left offset relative to the offsetParent. More...
 
int clientTop [get]
 The width of the top border of an element in pixels. More...
 
int clientLeft [get]
 The width of the left border of an element in pixels. More...
 
int clientWidth [get]
 The inner width of this element, (minus scrollbars). More...
 
int clientHeight [get]
 The inner height of this element, (minus scrollbars). More...
 
int scrollHeight [get]
 The height of this element without margins or borders. More...
 
int scrollWidth [get]
 The width of this element without margins or borders. More...
 
virtual bool Checked [get, set]
 
Dictionary< string, string > attributes [get]
 The attributes of this element (DOM spec compliant mapping for Properties). More...
 
GameObject rootGameObject [get]
 The gameObject that this element is ultimately parented to. More...
 
WorldUI worldUI [get]
 The world UI this element belongs to. More...
 
Texture image [get, set]
 Gets or sets the image from the background of this element. More...
 
bool focused [get, set]
 Gets or sets if this element is focused. More...
 
int tabIndex [get, set]
 This elements tab index. More...
 
Css.ComputedStyle computedStyle [get]
 Gets the computed style of this element. More...
 
override Css.ElementStyle style [get]
 Gets the style of this element. More...
 
bool focusable [get]
 True if this element is focusable. More...
 
HtmlElement childFocusable [get]
 The next focusable child element. Entirely ignores tab index. More...
 
HtmlFormElement formElement [get]
 Scans up the DOM to find the parent form element. Note: PowerUI.HtmlElement.form may be more useful than the element iself. More...
 
HtmlFormElement form [get]
 Scans up the DOM to find the parent form element's handler. The object returned provides useful methods such as PowerUI.HtmlFormElement.submit. More...
 
virtual string value [get, set]
 Gets or sets the value of this element. Input/Select/Textarea elements only. More...
 
virtual string htmlValue [get, set]
 Gets or sets the value as html for this element. Input/Select elements only. More...
 
int selectedIndex [get, set]
 Updates the current selected element in a dropdown menu. More...
 
HtmlVideoElement videoElement [get]
 Gets this element as a video element. More...
 
virtual MovieTexture video [get]
 The source movie texture. More...
 
bool playing [get]
 Is the video playing? More...
 
bool paused [get]
 Is the video paused? More...
 
AudioClip audioTrack [get]
 Gets the audio track of the video. More...
 
Windows.Window sparkWindow [get]
 Gets the spark window that holds this element. More...
 

Additional Inherited Members

- Public Attributes inherited from PowerUI.HtmlMediaElement
AudioSource Audio
 The audio source for this audio/video. More...
 
- Protected Member Functions inherited from PowerUI.HtmlElement
override bool HandleLocalEvent (Dom.Event e, bool bubblePhase)
 Runs the given function held in the named attribute (e.g. onkeydown) and checks if that function blocked the event. In the case of a blocked event, no default action should occur. Note that this is called by dispatchEvent and the attribute functions run before handlers do (same as Firefox). More...
 
- Package Functions inherited from PowerUI.HtmlElement
virtual void OnFocusEvent (FocusEvent fe)
 Called when this element comes into focus. More...
 
virtual void OnBlurEvent (FocusEvent fe)
 Called when this element becomes unfocused. More...
 
override void ResetVariable (string name)
 
override void ResetAllVariables ()
 Requests all child elements to reload their if they have any. More...
 
override void ChangedDOM ()
 Called when the DOM changed. More...
 
override void AddedToDOM ()
 Called when this element got added to the DOM. More...
 
override void RemovedFromDOM ()
 Called when this element got removed from the DOM. More...
 
- Static Package Attributes inherited from PowerUI.HtmlElement
static Node CachedFullscreenParent
 The original FS parent node. More...
 
static string CachedFullscreenStyle
 The original style of the FS element. More...
 

Member Function Documentation

override bool PowerUI.HtmlVideoElement.OnAttributeChange ( string  property)
inline
override void PowerUI.HtmlVideoElement.OnChildrenLoaded ( )
inline

Property Documentation

string PowerUI.HtmlVideoElement.height
getset

The height attribute.

string PowerUI.HtmlVideoElement.poster
getset

The poster attribute.

ImagePackage PowerUI.HtmlVideoElement.RawImage
get

The underlying image package. Can be null.

override MovieTexture PowerUI.HtmlVideoElement.video
get

The source movie texture.

ulong PowerUI.HtmlVideoElement.videoHeight
get

The video frame height of the image in CSS pixels.

ulong PowerUI.HtmlVideoElement.videoWidth
get

The video frame width of the image in CSS pixels.

string PowerUI.HtmlVideoElement.width
getset

The width attribute.