简化player接口

This commit is contained in:
Harvey Zack committed 2019-06-06 10:37:57 +08:00
1 parent 1b69b28ba1
commit 52b6693da2
41 files changed
+624 -690

No files matched your search

@@ -22,7 +22,7 @@ export default function mousemoveInitInit(art, events) {
autoHide.clearTimeout();
$player.classList.remove('artplayer-hide-cursor');
art.controls.show();
if (!art.player.pipState && player.playing && event.target === $video) {
if (!art.player.pip && player.playing && event.target === $video) {
autoHide();
}
});