This topic has not yet been rated - Rate this topic

start method

Gets the start of the time range by using the specified index.

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

Syntax

var startTime = TimeRanges.start(index);

Parameters

index [in]

Type: Integer

The zero-based index of the item in the collection.

startTime [out, retval]

Type: Variant

The start position of the range, in seconds, from the beginning of the timeline.

Return value

Type: Variant

The start position of the range, in seconds, from the beginning of the timeline.

Exceptions

ExceptionCondition
IndexSizeError

The specified index is out of range. Versions earlier than Internet Explorer 10 will throw the exception as INDEX_SIZE_ERR.

Standards information

Remarks

Time ranges do not overlap. The start time is guaranteed to be greater than the end of the range that precedes it.

See also

TimeRanges
Reference
end
length

 

 

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.