RE: Html 5 video not show tinymce.

thumbnail
Zi Zu, modified 3 Years ago. Junior Member Posts: 80 Join Date: 9/24/10 Recent Posts

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 ?

thumbnail
Olaf Kock, modified 3 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

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.