File tree Expand file tree Collapse file tree
js/control-bar/audio-track-controls Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010}
1111
1212// Mark a main-desc-menu-item (main + description) or description item with a trailing Audio Description icon
13+ .video-js .vjs-audio-button + .vjs-menu .vjs-description-menu-item .vjs-menu-item-text .vjs-icon-placeholder :before ,
1314.video-js .vjs-audio-button + .vjs-menu .vjs-descriptions-menu-item .vjs-menu-item-text .vjs-icon-placeholder :before ,
1415.video-js .vjs-audio-button + .vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder :before {
1516 font-family : VideoJS;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class AudioTrackMenuItem extends MenuItem {
5151 const el = super . createEl ( type , props , attrs ) ;
5252 const parentSpan = el . querySelector ( '.vjs-menu-item-text' ) ;
5353
54- if ( [ 'main-desc' , 'descriptions' ] . indexOf ( this . options_ . track . kind ) >= 0 ) {
54+ if ( [ 'main-desc' , 'descriptions' , 'description' ] . indexOf ( this . options_ . track . kind ) >= 0 ) {
5555 parentSpan . appendChild ( Dom . createEl ( 'span' , {
5656 className : 'vjs-icon-placeholder'
5757 } , {
You can’t perform that action at this time.
0 commit comments