controls property

[This documentation is preliminary and is subject to change.]

Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.10Internet Explorer 9

Syntax

HRESULT value = object.put_controls(VARIANT_BOOL v);HRESULT value = object.get_controls(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

The developer, not the client, provides media controls.

VARIANT_TRUE (true)

The client provides media controls.

Standards information

Remarks

The presence of the controls attribute, regardless of assigned value, in either the audio or video element equals true (for example, <audio controls=""> is true).

 

 

Build date: 1/26/2012