Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Html 5 video not show tinymce.
I need add a video to webcontent
when add code in source
<video width="1280" height="720" controls loop>
<source src="videos/video.mp4" type="video/mp4">
</video>
show data in database
<img data-mce-p-loop="loop" data-mce-p-controls="controls" data-mce-html="%0A%20%20%3Csource%20src%3D%22videos/video.mp4%22%20
please give me an idea to solve this ?
looks like the source code is sanitized (e.g. the video element was disallowed in the editor. "mce" points at tinyMCE, as you figured out in the title of the question)
I can't immediately point you to the configuration for input sanitization, but you could use structured content and solve this problem through a template. Or through using proper fragments to embed a video.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™