mirror of
https://github.com/videojs/video.js.git
synced 2024-12-02 09:11:54 +02:00
Fix bug with getting the ID of the track
Signed-off-by: Greg Kraus <gdkraus@ncsu.edu>
This commit is contained in:
parent
b0f1a8404c
commit
20e9a9feb5
@ -748,7 +748,7 @@ goog.inherits(vjs.TextTrackMenuItem, vjs.MenuItem);
|
||||
|
||||
vjs.TextTrackMenuItem.prototype.onClick = function(){
|
||||
goog.base(this, 'onClick');
|
||||
this.player_.showTextTrack(this.track.id(), this.track.kind());
|
||||
this.player_.showTextTrack(this.track.id_, this.track.kind());
|
||||
};
|
||||
|
||||
vjs.TextTrackMenuItem.prototype.update = function(){
|
||||
@ -778,7 +778,7 @@ goog.inherits(vjs.OffTextTrackMenuItem, vjs.TextTrackMenuItem);
|
||||
|
||||
vjs.OffTextTrackMenuItem.prototype.onClick = function(){
|
||||
goog.base(this, 'onClick');
|
||||
this.player_.showTextTrack(this.track.id(), this.track.kind());
|
||||
this.player_.showTextTrack(this.track.id_, this.track.kind());
|
||||
};
|
||||
|
||||
vjs.OffTextTrackMenuItem.prototype.update = function(){
|
||||
|
Loading…
Reference in New Issue
Block a user