videojs-record
videojs-record copied to clipboard
Fix Record#setAudioOutput for non Audio only players
#fixes #732
The setAudioInput method raises "player is not defined" exception when used in a mode different from the AUDIO_ONLY one.
This PR fixes the problem by replacing the call to a global (and not always defined) player.tech_.el_ call with this.player.tech_.el_.