setActive method

Sets the current playItem object as the active track in the playList collection, which causes the track to play.

Syntax

var retval = playItem.setActive();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

playItem
Reference
activeTrack
Conceptual
Introduction to HTML+TIME

 

 

Show: