简体   繁体   English

隐藏HTML 5音频播放器上的源URL

[英]Hide the source URL on HTML 5 audio player

Can I hide the source URL in the HTML 5 audio player? 我可以在HTML 5音频播放器中隐藏源URL吗? I am using audiojs api to make my web audio player now, but I don't know how to hide the source URL. 我现在正在使用audiojs api来制作网络音频播放器,但是我不知道如何隐藏源URL。 Should I use other way to make the audio player, I can use PHP, jQuery and javascript to do that. 如果我要使用其他方式制作音频播放器,可以使用PHP,jQuery和javascript来实现。 This is my assignment, please help me. 这是我的任务,请帮助我。

You can't hide the source URL. 您无法隐藏源URL。

The source URL is required for the browser to be able to get to the audio data. 浏览器需要源URL才能获取音频数据。 The URL must be available in some form. 该URL必须以某种形式可用。 Now, you can redirect to it, load it with JS, etc., but at the end of the day anyone can look in the network tab and see that URL. 现在,您可以重定向到它,并用JS等加载它,但是最终,任何人都可以在Network选项卡中查看该URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM