Support disabling obvious video download controls via an allow_download query param. The default behavior if not specified is to show the browser's default controls, which includes a download option in all major browsers.
Note this is only a "soft" mechanism for preventing downloads, which won't stop anyone who is able to fetch the video URL via developer tools etc. It nevertheless matches the level of protection for content that eg. Canvas Studio's own video player provides.
Add allow_download=0 to the URL and reload. The download option in the "..." menu should disappear and right-clicking on the video should not show the context menu.
Support disabling obvious video download controls via an
allow_download
query param. The default behavior if not specified is to show the browser's default controls, which includes a download option in all major browsers.Note this is only a "soft" mechanism for preventing downloads, which won't stop anyone who is able to fetch the video URL via developer tools etc. It nevertheless matches the level of protection for content that eg. Canvas Studio's own video player provides.
Testing:
allow_download=0
to the URL and reload. The download option in the "..." menu should disappear and right-clicking on the video should not show the context menu.