“cara menghapus opsi unduhan dari tag video di html” Kode Jawaban

cara menghentikan opsi unduhan dalam tag video html

BY LOVE
Just add controlsList="nodownload" in your video tag.
Nice Nightingale

cara menghapus opsi unduhan dari tag video di html

To remove the download option
<-- Add the line below to your video tag -->
controlsList="nodownload"
  
  <-- For Example -->
    
<video id="myVideo" width="350" height="500" oncontextmenu="return false;" controlsList="nodownload" controls autoplay>
  <source src="video.mp4" type="video/mp4">
</video>

You can also disable right clicking on your video in html
<--- Add the line below to your video tag --->
oncontextmenu="return false;"
  
<-- For Example -->
  
<video id="myVideo" width="350" height="500" oncontextmenu="return false;" controls autoplay>
  <source src="video.mp4" type="video/mp4">
</video>
Robbott

Jawaban yang mirip dengan “cara menghapus opsi unduhan dari tag video di html”

Pertanyaan yang mirip dengan “cara menghapus opsi unduhan dari tag video di html”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya