Home

Awesome

<div align="center"><h1>Aplayer Controler</h1></div> <div align="center">Powered By <a href="https://mashiros.top">Mashiro_Sorata</a></div>

Content

  1. Introduction
  2. Install
  3. Quick Start
  4. Details
  5. Read more
  6. License

<h2 id="u1">Introduction</h2>

DEMO

The Aplayer Controler is a tool to make users control the Aplayer more easily. <br>Enjoying with its lovely customizable interface.

<h2 id="u2">Install</h2>
$ npm install aplayer-controler --save
<h2 id="u3">Quick Start</h2>
  <div id="myapcid"></div>
  <script src="./Aplayer-Controler.min.js"></script>
  var myap = new APlayer({......});
  var myapc=new APlayer_Controler({
    	 APC_dom:$('#myapcid'),
	 aplayer:myap,
    	 position:{top:'300px'},
	 img_src:['http://oty1v077k.bkt.clouddn.com/bukagirl.jpg',
	      	  'http://oty1v077k.bkt.clouddn.com/jumpgirl.jpg',
		  'http://oty1v077k.bkt.clouddn.com/%E8%90%8C1.gif']
  });
<h2 id="u4">Details</h2>
var myap = new APlayer({......});  //Aplayer Part

var myapc=new APlayer_Controler({  //Controler Part
      APC_dom:'#myapcid',														
      aplayer:myap,														
      attach_right:true,													
      position:{top:'300px',bottom:''},
      fixed:true,															
      btn_width:100,														
      btn_height:120,														
      img_src:['http://oty1v077k.bkt.clouddn.com/bukagirl.jpg',
               'http://oty1v077k.bkt.clouddn.com/jumpgirl.jpg',
               'http://oty1v077k.bkt.clouddn.com/%E8%90%8C1.gif'],															
      img_style:{repeat:'no-repeat',position:'center',size:'contain'},
      ctrls_color:'rgba(173,255,47,0.7)',			
      ctrls_hover_color:'rgba(255,140,0,0.8)',		
      tips_on:true,														
      tips_width:140,														
      tips_height:25,														
      tips_color:'rgba(255,255,255,0.5)',
      tips_content:{														
          on_loading:{top:'音乐加载中',bottom:'不如来卖萌'},			
          on_welcome:{top:'音乐加载完成',bottom:'请继续看我卖萌'},		
          on_timeout:{top:'播放器暂无响应',bottom:'那就看我卖萌'},		
          on_error:{top:'音乐播放出错',bottom:'那就看我卖萌'},			
          on_listend:{top:'歌单已到底部',bottom:'接着看我卖萌'},		
          on_nohistory:{top:'没有历史纪录',bottom:'快去听歌吧!'},		
          on_historyend:{top:'历史纪录已到头',bottom:'快去听新歌吧!'}
        },
      timeout:30,
      showOnPhone:false,
      songrecord_log:false
};
<h2 id="u5">Read more</h2>

Read More Here

<h2 id="u6">License</h2>

MIT License