change preload

This commit is contained in:
邱博亞 2021-10-13 17:18:35 +08:00
parent b86e96613a
commit 500c0deec2
1 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,7 @@
left: -100%;
right: -100%;
margin: auto;
min-width: 100%;
min-height: 100%;
object-fit: cover;
@ -266,6 +267,7 @@
autoBlur: false,
smoothPlayBar: true,
keyEnabled: true,
preload: 'auto',
keyBindings: {
play: {
key: 80, // p
@ -277,6 +279,14 @@
}
}
},
fullScreen: {
key: 70, // f
fn: function(f) {
if(f.status.video || f.options.audioFullScreen) {
f._setOption("fullScreen", !f.options.fullScreen);
}
}
},
muted: {
key: 77, // m
fn: function(f) {