update docs

This commit is contained in:
Harvey Zack committed 2023-05-02 21:41:01 +08:00
1 parent 9ea091856b
commit 88ae6d202c
149 files changed
+3601 -1839

No files matched your search

+1 -3
View File
@@ -240,9 +240,7 @@ Artplayer.DBCLICK_TIME = 300;
Artplayer.DBCLICK_FULLSCREEN = true;
Artplayer.MOBILE_DBCLICK_PLAY = true;
Artplayer.MOBILE_CLICK_PLAY = false;
Artplayer.MOBILE_AUTO_PLAYBACKRATE = 3;
Artplayer.MOBILE_AUTO_PLAYBACKRATE_TIME = 1000;
Artplayer.MOBILE_AUTO_ORIENTATION_TIME = 200;
Artplayer.AUTO_ORIENTATION_TIME = 200;
Artplayer.INFO_LOOP_TIME = 1000;
Artplayer.FAST_FORWARD_VALUE = 3;
Artplayer.FAST_FORWARD_TIME = 1000;
@@ -23,7 +23,7 @@ export default function autoOrientation(art) {
addClass($player, 'art-auto-orientation');
art.isRotate = true;
art.emit('resize');
}, constructor.MOBILE_AUTO_ORIENTATION_TIME);
}, constructor.AUTO_ORIENTATION_TIME);
}
} else {
if (hasClass($player, 'art-auto-orientation')) {
+2 -2
View File
@@ -18,6 +18,7 @@
.art-setting-panel {
display: none;
height: 100%;
flex-direction: column;
&.art-current {
@@ -28,9 +29,8 @@
display: flex;
justify-content: space-between;
align-items: center;
height: 35px;
flex: 1;
padding: 0 5px;
line-height: 1;
cursor: pointer;
overflow: hidden;
transition: background-color var(--art-transition-duration) ease;