Disable video download from video player in contente slider module

Has anyone been able to disable the video download option from the video player?

If I add the attribute controlslist="nodownload" by hand to the html video tag in Google Developer Tools, the download option disappears from the video player.

However, my efforts to add this attribute dynamically on page load with Javascript are not working.
Are there any other options that don’t include css?