I'm trying to add some alternative aria info to some embedded videos for accessibility reasons. I made the changes in the code view and noticed that if I switched back to the editor view, all of the video tag attributes would be stripped out. I can save the code and it works properly as long as I don't switch to the editor view. I don't want to have to worry about our other admins switching to editor view and stripping out the extra info.
Code entered into code view
<video autoplay="autoplay" loop="loop" muted="muted" width="100%" height="auto" id="headerVideo" aria-labelledby="videoDesc">
<source src="https://www.joomlacontenteditor.net/downloads/headerVideo2.mp4" type="video/mp4" /> Your browser does not support HTML5 video.</video>
Code after switching to editor view
<video autoplay="autoplay" loop="loop" muted="muted" width="100%" height="auto" id="headerVideo">
<source src="https://www.joomlacontenteditor.net/downloads/headerVideo2.mp4" type="video/mp4" /> Your browser does not support HTML5 video. </video>
I tried adding to the Advanced > Extended Elements:
video[aria-label|aria-labelledby|autoplay|loop|muted|width|height|id]
Seemingly there was no change. Any ideas?