'Why can't download video even I removed nodownload from controlsList
It is basically the title.
Although video.controlsList.remove('nodownload') removes the nodownload ability, meaning that I should be able to download the video. However, when I run video.controlsList.support('nodownload')in the console, it still returns true.It is really strange.
Solution 1:[1]
video.controlsList.support() is used to check if a particular functionality is supported by that browser. When you use it you are basically asking the browser "Hey i want to use this feature. do you support it?" It doesn't tell the value of that attribute in the video tag.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mrtechtroid |
