File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -294,21 +294,6 @@ Player.prototype.setAudioTrack = function(trackId) {
294294 audioTracks [ i ] . enabled = i === trackId
295295}
296296
297- Player . prototype . setVideoTrack = function ( trackId ) {
298- if ( ! this . _videoTracks || this . _videoTracks . length <= 0 ) {
299- log ( "There is no available video track" , this . _videoTracks )
300- return
301- }
302- if ( trackId < 0 || trackId >= this . _videoTracks . length ) {
303- log ( "Track with id" , trackId , "not found" )
304- return
305- }
306- this . ui . waiting = true
307- var progress = this . ui . progress
308- log ( "Set video" , this . _videoTracks [ trackId ] )
309- this . element . dom . src = this . _videoTracks [ trackId ] . url
310- this . seekTo ( progress )
311- }
312297
313298Player . prototype . setVideoTrack = function ( trackId ) {
314299 if ( ! this . _videoTracks || this . _videoTracks . length <= 0 ) {
You can’t perform that action at this time.
0 commit comments