Quantcast
Viewing all articles
Browse latest Browse all 293738

Add 'muted' configuration to audio field formatter.

Problem/Motivation

It is currently not possible to configure an audio file using FileAudioFormatter to be muted by default.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio#Attributes

Solution

This configuration currently exists in FileVideoFormatter and works properly. Since both the audio and video formatters share FileMediaFormatterBase, moving the muted setting to that class provides this option to both formatters without breaking any existing config for videos.


Viewing all articles
Browse latest Browse all 293738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>