用html5的audio配合js写了一个播放器,但是现在是本地的mp3资源,如果想发布到github做静态页,如何调用网络资源啊,比如网易云音乐的,去修改source的src。用js能不能直接实现呢?
<audio id="audio">
<source title="我想" src="src/woxiang.mp3">
<source title="白昼之夜" src="src/baizhouzhiye.mp3">
<source title="告白气球" src="src/gaobaiqiqiu.mp3">
</audio>
Find the http address of a song mp3 from NetEase Music, and then directly modify the src of the audio