Skip to content

Commit f5bc4d9

Browse files
CopilotjyxjjjILoveScratch2
authored
chore(volume): change default volume to 1 (#216)
* Initial plan * Initial setup: Analyze video player volume settings Co-authored-by: jyxjjj <[email protected]> * feat: Update video player default volume from 50% to 100% Co-authored-by: jyxjjj <[email protected]> * chore(volume): change audio player default volume to 1.0 Co-authored-by: jyxjjj <[email protected]> * chore: remove package-lock.json and update .gitignore Co-authored-by: ILoveScratch2 <[email protected]> * chore: revert driver EOL changes and lock file modifications Co-authored-by: jyxjjj <[email protected]> * chore: remove package-lock.json to keep PR focused on volume changes only Co-authored-by: jyxjjj <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jyxjjj <[email protected]> Co-authored-by: ILoveScratch2 <[email protected]>
1 parent ecebf68 commit f5bc4d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/pages/home/previews/aliyun_video.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const Preview = () => {
7878
id: pathname(),
7979
container: "#video-player",
8080
title: objStore.obj.name,
81-
volume: 0.5,
81+
volume: 1.0,
8282
autoplay: getSettingBool("video_autoplay"),
8383
autoSize: false,
8484
autoMini: true,

src/pages/home/previews/audio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Preview = () => {
6767
loop: "all",
6868
order: "list",
6969
preload: "auto",
70-
volume: 0.7,
70+
volume: 1.0,
7171
mutex: true,
7272
listFolded: false,
7373
lrcType: objStore.provider === "NeteaseMusic" ? 1 : 3,

src/pages/home/previews/video.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Preview = () => {
5353
container: "#video-player",
5454
url: objStore.raw_url,
5555
title: objStore.obj.name,
56-
volume: 0.5,
56+
volume: 1.0,
5757
autoplay: getSettingBool("video_autoplay"),
5858
autoSize: false,
5959
autoMini: true,

0 commit comments

Comments
 (0)