前言:
当前小伙伴们对“js怎么制作音乐播放条”可能比较关心,大家都需要知道一些“js怎么制作音乐播放条”的相关知识。那么小编也在网上网罗了一些有关“js怎么制作音乐播放条””的相关文章,希望各位老铁们能喜欢,我们快快来了解一下吧!一款UI界面非常简洁美观的html5小型网页mp3音乐播放器开发,暂停播放、歌曲切换、进度条等基本功能都有。
项目源码分享:
<!DOCTYPE html><html lang="en" ><head><meta charset="UTF-8"><title>Music Player | Audio Player </title><!--字体图标样式--><link rel='stylesheet' href=''><link rel='stylesheet' href=''><!--布局样式--><link rel="stylesheet" href="css/style.css"> </head><body> <!-- Tracks used in this music/audio player application are free to use. I downloaded them from Soundcloud and NCS websites. I am not the owner of these tracks.Please don't create new pen by just copying and pasting code from this pen ( as I have seen some of them ), if you do that then don't forget to link back to this original pen. If you want to copy this pen then simply use the Fork button. Thank you --> <div id="app-cover"> <div id="bg-artwork"></div> <div id="bg-layer"></div> <div id="player"> <div id="player-track"> <div id="album-name"></div> <div id="track-name"></div> <div id="track-time"> <div id="current-time"></div> <div id="track-length"></div> </div> <div id="s-area"> <div id="ins-time"></div> <div id="s-hover"></div> <div id="seek-bar"></div> </div> </div> <div id="player-content"> <div id="album-art"> <img src="img/1.jpg" class="active" id="_1"> <img src="img/2.jpg" id="_2"> <img src="img/3.jpg" id="_3"> <img src="img/4.jpg" id="_4"> <img src="img/5.jpg" id="_5"> <div id="buffer-box">缓冲…</div> </div> <div id="player-controls"> <div class="control"> <div class="button" id="play-previous"> <i class="fas fa-backward"></i> </div> </div> <div class="control"> <div class="button" id="play-pause-button"> <i class="fas fa-play"></i> </div> </div> <div class="control"> <div class="button" id="play-next"> <i class="fas fa-forward"></i> </div> </div> </div> </div> </div> </div> </body></html>源码运行效果截图:
大家需要这个项目css代码,js,图片做练习的可以找我免费领取,如果大家不怕麻烦可以关注我后私信我“前端学习资料”几个字 找我领取 24小时在线!
版权声明:
本站文章均来自互联网搜集,如有侵犯您的权益,请联系我们删除,谢谢。