You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116361 Video tag attributes stripped

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by wires on Tuesday, 05 March 2024 15:37 GMT

wires
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?

Ryan
Please try JCE Pro 2.9.63 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

I tried adding to the Advanced > Extended Elements:

Remove these additions.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

wires
Look like beta 4 solves another one! Thanks, Ryan.