To make a responsive version (the standard 400 width is too big for smaller mobile screens) I have done the following:
<div
class="d-none d-md-block">
{POODLL:type="mediaelementaudio_cdn",VIDEOURL="xxx",WIDTH="650"}
</div>
<div
class="d-none d-sm-block d-md-none">
{POODLL:type="mediaelementaudio_cdn",VIDEOURL="xxx",WIDTH="450"}
</div>
<div
class="d-block d-sm-none">
{POODLL:type="mediaelementaudio_cdn",VIDEOURL="xxx",WIDTH="300"}
</div>
I would like to do a new filter doing the same. But when I try to do it with mediaelementaudio_cdn as a template then the audio disappears.
Any suggestions to how this can be fixed?