How to add a "controlslist" attribute to the HTML5 video player

Q&A about the latest versions
Post Reply
Gorrunyo
Posts: 4
Joined: Mon May 11, 2020 3:57 pm

We need to ensure that videos played using the pano2vr video gadget (HTML5 video element) does not offer the Download option.

This usually can be archived by adding the following attribute to the video element:

Code: Select all

controlsList = "nofullscreen nodownload"
How can I add this to the HTML output?

Thanks
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
A feature request has been logged.
However, you could use video tags in a text box and add the attribute.

Code: Select all

<video width="512" height="380" controls controlsList="nodownload">
    <source data-src="video.mp4" type="video/mp4">
</video>

Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply