snwjas / Aplayer-ControlBarPlugin

Aplayer控制栏插件,使用它可以做到像PC系统窗口那样进行拖拽移动、最小化、最大化和关闭。 Aplayer control bar plug-in, which can be used to drag, move, minimize, maximize and close like PC system window.

Home Page:https://refrain.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify the “miniswitcher” noninvasively and it can realize the dragging, moving, minimizing, maximizing and closing of aplayer like a window.

非侵入式修改Aplayer,它可以像窗口一样实现Aplayer的拖拽移动、最小化、最大化和关闭。

请在 fixed 模式下使用。

Please use it in fixed mode.

<script type="text/javascript" src="movadsorbent.min.js"></script>

<script>
    var audioInfoList = []
	var aplayer = new APlayer({
    	container: document.getElementById('aplayer'),
    	volume: 0.5,
    	audio: audioInfoList,
    	lrcType: 3,
    	fixed: true,
    	autoplay: false,
    	order: 'random'
	});
	new Movadsorbent(aplayer, false);
<script/>

预览地址(Preview):Myles Home

预览说明(Note):按M键即可呼出Aplayer (Press the M key to call out Aplayer)

Aplayer-ControlBarPlugin

Aplayer-ControlBarPlugin

About

Aplayer控制栏插件,使用它可以做到像PC系统窗口那样进行拖拽移动、最小化、最大化和关闭。 Aplayer control bar plug-in, which can be used to drag, move, minimize, maximize and close like PC system window.

https://refrain.xyz/

License:MIT License


Languages

Language:JavaScript 80.0%Language:SCSS 20.0%