diff --git a/src/client/resource-manifest.js b/src/client/resource-manifest.js
index 5d06661b1..22d036ce1 100644
--- a/src/client/resource-manifest.js
+++ b/src/client/resource-manifest.js
@@ -678,13 +678,16 @@ Resource.manifest = {
},
},
autoPlayControl: '传统连播模式',
- autoPauseVideo: {
+ scrollOutPlayer: {
displayNames: {
- autoPauseVideo: '自动暂停视频',
- triggerPausePlace: '触发暂停位置'
+ scrollOutPlayer: '当播放器退出页面时',
+ triggerPlayerOutPlace: '选定触发位置',
+ autoPause: '自动暂停',
+ autoLightOn: '自动开灯'
},
+ reloadable: true,
dropdown:{
- key: 'triggerPausePlace',
+ key: 'triggerPlayerOutPlace',
items: ['视频顶部' ,'视频中间', '视频底部']
}
}
diff --git a/src/client/settings.js b/src/client/settings.js
index fb4a03f1d..aa4d48418 100644
--- a/src/client/settings.js
+++ b/src/client/settings.js
@@ -256,8 +256,11 @@ export const settings = {
fullscreenGiftBox: false,
autoPlayControl: true,
cache: {},
- autoPauseVideo: true,
- triggerPausePlace: '视频中间',
+ scrollOutPlayer: true,
+ triggerPlayerOutPlace: '视频中间',
+ lightOOVideoOut: true,
+ autoPause: true,
+ autoLightOn: true,
}
const fixedSettings = {
seedsToCoins: false,
diff --git a/src/global.d.ts b/src/global.d.ts
index df12a0293..17ea46b89 100644
--- a/src/global.d.ts
+++ b/src/global.d.ts
@@ -518,8 +518,10 @@ declare global {
liveSpeedBoost: boolean,
checkInCenter: boolean,
fullscreenGiftBox: boolean,
- autoPauseVideo: boolean,
- triggerPausePlace: string[],
+ scrollOutPlayer: boolean,
+ triggerPlayerOutPlace: string[],
+ autoPause: boolean,
+ autoLightOn: boolean,
}
const GM_info: MonkeyInfo
function GM_xmlhttpRequest(details: MonkeyXhrDetails): { abort: () => void }
diff --git a/src/utils/gui-settings/gui-settings.html b/src/utils/gui-settings/gui-settings.html
index 81129d225..feb6772c6 100644
--- a/src/utils/gui-settings/gui-settings.html
+++ b/src/utils/gui-settings/gui-settings.html
@@ -75,8 +75,10 @@
-
-
+
+
+
+
样式