nl_tokens: Check if volume control is supported and if it isn t hide the Component that was passed using the vjs - hidden class .
pl_tokens: function checkVolumeSupport ( self , player ) { // hide volume controls when they're not supported by the current tech if ( player . tech_ && ! player . tech_ . featuresVolumeControl ) { <mask> . addClass ( 'vjs-hidden' ) ; } self . on ( player , 'loadstart' , function ( ) { if ( ! player . tech_ . featuresVolumeControl ) { self . addClass ( 'vjs-hidden' ) ; } else { self . removeClass ( 'vjs-hidden' ) ; } } ) ; }