视频播放根据配置禁止拖动进度条

This commit is contained in:
禺狨
2023-05-30 16:40:10 +08:00
parent 537cac224a
commit 1a9a20cbca
3 changed files with 40 additions and 2 deletions

View File

@@ -41,6 +41,11 @@ export const InitPage = (props: Props) => {
props.configData["player-is-enabled-bullet-secret"] === "1"
? true
: false,
playerIsDisabledDrag:
props.configData["player-disabled-drag"] &&
props.configData["player-disabled-drag"] === "1"
? true
: false,
playerBulletSecretText: props.configData["player-bullet-secret-text"],
playerBulletSecretColor: props.configData["player-bullet-secret-color"],
playerBulletSecretOpacity: