Javascript 如何在中禁用下载按钮https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
如何禁用中的下载按钮? 在输出音频插件UI中,有三个垂直点是下载选项。我想把这个藏起来Javascript 如何在中禁用下载按钮https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio,javascript,reactjs,integration-testing,developer-tools,Javascript,Reactjs,Integration Testing,Developer Tools,如何禁用中的下载按钮? 在输出音频插件UI中,有三个垂直点是下载选项。我想把这个藏起来 <figure> <figcaption>Listen to the T-Rex:</figcaption> <audio controls src="/media/cc0-audio/t-rex-roar.mp3"> Your browser does not supp
<figure>
<figcaption>Listen to the T-Rex:</figcaption>
<audio
controls
src="/media/cc0-audio/t-rex-roar.mp3">
Your browser does not support the
<code>audio</code> element.
</audio>
</figure>
我还尝试了这个npm包我不确定这是否是一个官方属性,但您可以尝试将
controlsList=“nodownload”
添加到
元素中controlsList=“nodownload”
通常与
元素一起使用。我不确定这是否为正式属性,但您可以尝试将controlsList=“nodownload”
添加到
元素中controlsList=“nodownload”
通常与
元素一起使用