tags to * * @internal */ class AMP_Audio_Sanitizer extends AMP_Base_Sanitizer { use AMP_Noscript_Fallback; /** * Tag. * * @var string HTML audio tag to identify and replace with AMP version. * @since 0.2 */ public static $tag = 'audio'; /** * Default args. * * @var array */ protected $DEFAULT_ARGS = [ 'add_noscript_fallback' => true, 'native_audio_used' => false, ]; /** * Get mapping of HTML selectors to the AMP component selectors which they may be converted into. * * @return array Mapping. */ public function get_selector_conversion_mapping() { if ( $this->args['native_audio_used'] ) { return []; } return [ 'audio' => [ 'amp-audio' ], ]; } /** * Sanitize the