nl_tokens: An Object containing a structure like : { src : url type : mimetype } or string that just contains the src url alone . * var SourceObject = { src : http : // ex . com / video . mp4 type : video / mp4 } ; var SourceString = http : // example . com / some - video . mp4 ;
pl_tokens: function createTrackHelper ( self , kind , label , language ) { var <mask> = arguments . length > 4 && arguments [ 4 ] !== undefined ? arguments [ 4 ] : { } ; var tracks = self . textTracks ( ) ; options . kind = kind ; if ( label ) { options . label = label ; } if ( language ) { options . language = language ; } options . tech = self ; var track = new ALL . text . TrackClass ( options ) ; tracks . addTrack ( track ) ; return track ; }