Added textTracks & remoteTextTracks to video.js

This commit is contained in:
Adam Eisenreich
2018-08-20 15:11:47 +02:00
committed by GitHub
parent 28c2d98a5c
commit 2df28b9873
+12
View File
@@ -3764,6 +3764,18 @@ declare namespace videojs {
autoplay(): boolean | string;
/**
* Get the remote {@link TextTrackList}
* @return The current remote text track list
*/
textTracks(): TextTrackList
/**
* Get the remote {@link TextTrackList}
* @return The current remote text track list
*/
remoteTextTracks(): TextTrackList
/**
* Create a remote {@link TextTrack} and an {@link HTMLTrackElement}. It will
* automatically removed from the video element whenever the source changes, unless