首页>>音乐/视频>>HTML5 音乐播放器(2015-06-25)

HTML5 音乐播放器

 js文件到演示页面可以查看

HTML5 音乐播放器
赞赏支持
立刻微信赞赏支持 关闭

XML/HTML Code
  1. <div id="container" class="disabled">  
  2.   
  3.     <div id="cover-art">  
  4.         <div id="cover-art-big"></div>  
  5.         <img id="cover-art-small" alt="cover-art-small" src="assets/img/default.png">  
  6.         <div class="instructions">Drop your audio files here.</div>  
  7.     </div>  
  8.   
  9.     <div id="wave"></div>  
  10.   
  11.     <div id="control-bar">  
  12.   
  13.         <div class="player-control">  
  14.             <div id="previous-button" title="Previous"><i class="fa fa-fast-backward"></i></div>  
  15.             <div id="play-button" title="Play"><i class="fa fa-play"></i></div>  
  16.             <div id="pause-button" title="Pause"><i class="fa fa-pause"></i></div>  
  17.             <div id="stop-button" title="Stop"><i class="fa fa-stop"></i></div>  
  18.             <div id="next-button" title="Next"><i class="fa fa-fast-forward"></i></div>  
  19.             <div id="shuffle-button" title="Shuffle Off"><i class="fa fa-random"></i></div>  
  20.             <div id="repeat-button" title="Repeat Off"><i class="fa fa-refresh"><span>1</span></i></div>  
  21.         </div>  
  22.   
  23.         <div id="playlist">  
  24.   
  25.             <div id="track-details" title="Show playlist">  
  26.                 <i class="fa fa-sort"></i>  
  27.                 <p id="track-desc">There are no tracks loaded in the player.</p>  
  28.                 <p id="track-time">  
  29.                     <span id="current">-</span> / <span id="total">-</span>  
  30.                 </p>  
  31.             </div>  
  32.   
  33.             <div id="expand-bar" class="hidden">  
  34.   
  35.                 <form>  
  36.                     <label for="searchBox">Search</label><div><input id="searchBox" type="search" name="search"></div>  
  37.                 </form>  
  38.                 <ul id="list"></ul>  
  39.             </div>  
  40.   
  41.         </div>  
  42.   
  43.     </div>  
  44.   
  45.     <div id="drop-zone" class="hidden">Drag & Drop Files Here</div>  
  46.   
  47. </div>  

 


原文地址:http://www.freejs.net/article_yingyueshipin_474.html