VideoTrackList

Overview

The VideoTrackList interface is used to represent a list of the video tracks contained within a <video> element, with each track represented by a separate VideoTrack object in the list.

Location

 

getTrackById

Returns the VideoTrack found within the VideoTrackList whose id matches the specified string. If no match is found, null is returned.

 

method getTrackById(parid: dynamic)

 

void getTrackById(dynamic parid)

 

func getTrackById(_ parid: dynamic)

 

void getTrackById(dynamic parid)

 

Sub getTrackById(parid As dynamic)

Parameters:

  • parid:

length

 

property length: Int32 read;

 

Int32 length { get; }

 

var length: Int32 { get{} }

 

Int32 length { __get; }

 

ReadOnly Property length() As Int32

onaddtrack

 

property onaddtrack: EventListener read write;

 

EventListener onaddtrack { get; set; }

 

var onaddtrack: EventListener { get{} set{} }

 

EventListener onaddtrack { __get; __set; }

 

Property onaddtrack() As EventListener

onchange

 

property onchange: EventListener read write;

 

EventListener onchange { get; set; }

 

var onchange: EventListener { get{} set{} }

 

EventListener onchange { __get; __set; }

 

Property onchange() As EventListener

onremovetrack

 

property onremovetrack: EventListener read write;

 

EventListener onremovetrack { get; set; }

 

var onremovetrack: EventListener { get{} set{} }

 

EventListener onremovetrack { __get; __set; }

 

Property onremovetrack() As EventListener

selectedIndex

 

property selectedIndex: Int32 read;

 

Int32 selectedIndex { get; }

 

var selectedIndex: Int32 { get{} }

 

Int32 selectedIndex { __get; }

 

ReadOnly Property selectedIndex() As Int32

 

length

 

property length: Int32 read;

 

Int32 length { get; }

 

var length: Int32 { get{} }

 

Int32 length { __get; }

 

ReadOnly Property length() As Int32

onaddtrack

 

property onaddtrack: EventListener read write;

 

EventListener onaddtrack { get; set; }

 

var onaddtrack: EventListener { get{} set{} }

 

EventListener onaddtrack { __get; __set; }

 

Property onaddtrack() As EventListener

onchange

 

property onchange: EventListener read write;

 

EventListener onchange { get; set; }

 

var onchange: EventListener { get{} set{} }

 

EventListener onchange { __get; __set; }

 

Property onchange() As EventListener

onremovetrack

 

property onremovetrack: EventListener read write;

 

EventListener onremovetrack { get; set; }

 

var onremovetrack: EventListener { get{} set{} }

 

EventListener onremovetrack { __get; __set; }

 

Property onremovetrack() As EventListener

selectedIndex

 

property selectedIndex: Int32 read;

 

Int32 selectedIndex { get; }

 

var selectedIndex: Int32 { get{} }

 

Int32 selectedIndex { __get; }

 

ReadOnly Property selectedIndex() As Int32

 

getTrackById

Returns the VideoTrack found within the VideoTrackList whose id matches the specified string. If no match is found, null is returned.

 

method getTrackById(parid: dynamic)

 

void getTrackById(dynamic parid)

 

func getTrackById(_ parid: dynamic)

 

void getTrackById(dynamic parid)

 

Sub getTrackById(parid As dynamic)

Parameters:

  • parid: