Menu
Feedback
Start here

Known issues

Known issues
Boolean Video/Audio HTML Properties not being validated on Legacy CMS
Portal
ID: 491898
No Fix
Published on3/16/2022
Last updated on2/16/2024
1 min read

Summary

If you attempt to use Video/Audio optional Attributes in the CMS HTML input box that are boolean types that do not use the "=" expression, the CMS validation will incorrectly prompt a save error and stop the user from using this kind of HTML functionality. Some examples are the attributes autoplay, controls, loop, and muted.

Simulation

  1. Go to the legacy CMS application
  2. Create a new HTML template
  3. Insert a valid HTML tag that contains the autoplay attribute, for example:

<video controls loop> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg">   Your browser does not support the video tag. </video>

  1. An error will be prompted to the user.

Workaround

Use a javascript with the HTMLMediaElement.loop property instead, generating the same end effect.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback