Javascript Reference - HTML DOM Track default Property








The default property sets or gets the default state of the track.

This property reflects the <track> default attribute.

Browser Support

default Yes 10.0 Yes Yes Yes

Syntax

Return the default property.

var v = trackObject.default

Set the default property.

trackObject.default=true|false

Property Values

Value Description
true|false Specifies the default state of the track
  • true - The track is to be enabled
  • false - Default. The track is NOT to be enabled




Return Value

A Boolean type value representing the default state of the track.