I've tried to use an HTML embed tag in an attribute value (e.g. to show a YouTube video) and it's not working

Asset Bank sanitizes HTML input for attributes by default to remove any potentially unsafe tags.

If you trust the users responsible for uploading and editing assets and would like to use HTML embed tags (or other blocked tags) in an HTML field you will need to disable the sanitization.

To do this...

  • Login as an admin user
  • Go to Admin > Attributes
  • Click edit next to the Text Area attribute in question
  • Untick 'Sanitize HTML' on the edit page
  • Save the attribute


Was this article helpful?

Yes No

Thanks for your feedback!