Hello.
The sanitizer isn't working properly. When testing the video, it might seem like it is, but in reality, the video layout builds the video embed based on $video_src and not from embed code, which is mostly iframes.
The problem arises when you try to display an audio embed. The sanitizer removes all the code because the filter is set to 1, 1, which blacklists the $tags and $attrs lists. Therefore, all iframe embeds are completely removed, but other potentially dangerous tags for stored XSS can pass in their place.
The proposed solution is to change the configuration to [], [], 0, 0, 0. Setting the fifth parameter to 0 allows iframes to be displayed. If it's not assigned, it's set to 1 (the default value), which removes all iframes because Joomla filters iframes by default. To fix the exposure caused by setting the fifth parameter to 0, you can clean it with a regular expression: $filter->clean($html, 'html');.
We've run our own tests, and if you'd like, we can provide details privately, as this isn't related to a layout but rather to the Helix helper.
Regards