Hai
I have just started using this Forma LMS. While creating a HTML Page LO , i wanted to add a video element.
I saw in the embed code , it used "video" tag.
<video controls="controls" width="1110" height="740">
<source src="../appCore/../files/common/users/11839_35_1677414129_Making_1.mp4" type="video/mp4" /></video>
When I want to add controlsList with NO DOWNLOAD option , so not to allow the user to download the video, by doing this, and pressing Save.
<video width="600" height="350" controls controlsList="nodownload"> ...............
Its not saving the code. When I open the embed tab again, the nodownload option is not shown & the video still has the Download button.
What Iam missing ?
How to solve this issue, to disable the download button ??
LO HTML - Embed video without download option
-
- Newbie
- Posts: 2
- Joined: Sun Feb 26, 2023 1:54 pm
Re: LO HTML - Embed video without download option
Some tags and attributes are automatically stripped by tinymce. You can find topics about how to whitelist them.
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 2
- Joined: Sun Feb 26, 2023 1:54 pm
Re: LO HTML - Embed video without download option
Could'nt find any topics to whitelist the tags , so tinymce does not strip them. Any more suggestions would be useful.
Re: LO HTML - Embed video without download option
There's no discussion about WHETHER the attribute/tag is being stripped or not, because it's absolutely clear that it is.
The discussion is WHERE, or BY WHAT component.
It can be tinymce (see https://www.tiny.cloud/docs-3x/referenc ... _elements/ and https://www.tiny.cloud/docs/configure/c ... filtering/).
It can be filter_input library of FormaLMS (HTMLPurifier, see http://htmlpurifier.org/live/configdoc/ ... Attributes).
But you have to deeply change the code.
The discussion is WHERE, or BY WHAT component.
It can be tinymce (see https://www.tiny.cloud/docs-3x/referenc ... _elements/ and https://www.tiny.cloud/docs/configure/c ... filtering/).
It can be filter_input library of FormaLMS (HTMLPurifier, see http://htmlpurifier.org/live/configdoc/ ... Attributes).
But you have to deeply change the code.
Per supporto GRATUITO contattatemi in privato qui
Re: LO HTML - Embed video without download option
Concerning the topics,
https://forum.formalms.org/topic.html?t=13093
https://forum.formalms.org/topic.html?t=13566
https://forum.formalms.org/topic.html?t=13093
https://forum.formalms.org/topic.html?t=13566
Per supporto GRATUITO contattatemi in privato qui