Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new video player #216

Merged
merged 21 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
61ef36e
Refactor video player
MiaoMint Jan 27, 2024
c38a46f
Merge branch 'dev' into feat/new-video-player
MiaoMint Jan 27, 2024
51b2647
Add subtitle configuration and error handling
MiaoMint Jan 28, 2024
48b06e7
Update sidebar variable names and subtitle font size
MiaoMint Jan 28, 2024
e503722
Merge remote-tracking branch 'origin/dev' into feat/new-video-player
MiaoMint Feb 1, 2024
8c40dc9
Fix video player bugs and improve UI
MiaoMint Feb 1, 2024
5b144dc
Refactor video controller and video player sidebar
MiaoMint Feb 2, 2024
b45a3d0
Remove minimumSize property and add always on top functionality
MiaoMint Feb 2, 2024
12d282c
Update color and background settings
MiaoMint Feb 2, 2024
08f1536
Fix play pause button mismatch
MiaoMint Feb 3, 2024
ed9c93a
Add volume control, screen brightness, auto orientation
MiaoMint Feb 3, 2024
6bc492a
Fix content-type check and dispose timer and focus node
MiaoMint Feb 3, 2024
e0b725f
Add color and padding to mobile controls, fix time formatting in desk…
MiaoMint Feb 5, 2024
6e3a18c
Add remember subtitle settings
MiaoMint Feb 5, 2024
55e54de
Add VideoPlayerDLNA widget for DLNA device selection
MiaoMint Feb 7, 2024
b23c5f0
Fix subtitle merging issue
MiaoMint Feb 7, 2024
eba890f
Update text color in Play mode
MiaoMint Feb 7, 2024
9333698
Add video player cast functionality
MiaoMint Feb 16, 2024
ad26048
Add mobile controls for video player and quality selection button
MiaoMint Feb 16, 2024
09e34e9
Add internationalization support and update translations
MiaoMint Feb 18, 2024
ea8510a
Add overflow property to text styles
MiaoMint Feb 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 38 additions & 3 deletions assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
"login": "Login",
"no-data": "No data",
"clear": "Clear",
"export": "Export"
"export": "Export",
"off": "Off",
"error-message": "Error message",
"disconnect": "Disconnect"
},
"home": {
"continue-watching": "Continue",
Expand Down Expand Up @@ -168,8 +171,12 @@
"subtitle-none": "No Subtitle",
"subtitle": "Subtitle",
"subtitle-change": "Change Subtitle {title}",
"subtitle-file": "Subtitle File",
"subtitle-file": "Add subtitle File",
"torrent-downloading": "Torrent downloading",
"no-qualities": "No quality available",
"audio": "Audio",
"getting-streamlink": "Getting streamlink...",
"streamlink-error": "Failed to get streamlink",
"tooltip": {
"close": "Close",
"subtitle": "Subtitle",
Expand All @@ -183,6 +190,34 @@
"full-screen": "Full Screen",
"volume": "Volume",
"torrent-file-list": "Torrent file list"
},
"cast": "Cast to device",
"cast-device": "playing on {device}",
"sidebar": {
"tab": {
"episodes": "Episodes",
"qualitys": "Qualitys",
"torrentFiles": "Torrent Files",
"tracks": "Tracks",
"settings": "Settings"
},
"subtitle": {
"title": "Subtitle",
"font-size": "Font size",
"font-color": "Font color",
"background-color": "Background color",
"background-opacity": "Background opacity",
"text-align": "Text align",
"font-weight": "Font weight",
"font-weight-normal": "Normal",
"font-weight-bold": "Bold"
},
"play-mode": {
"title": "Play mode",
"loop": "Loop",
"single": "Single",
"auto-next": "Auto next"
}
}
},
"comic-settings": {
Expand Down Expand Up @@ -282,4 +317,4 @@
"manga-chapter-read": "Manga Chapter Read: {chapters}",
"anime-episode-watch": "Anime Episode Watched: {episodes}"
}
}
}
58 changes: 54 additions & 4 deletions assets/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"save-success": "保存成功",
"logout": "登出",
"clear": "清除",
"export": "导出"
"export": "导出",
"off": "关闭",
"error-message": "错误信息",
"disconnect": "断开连接"
},
"home": {
"continue-watching": "继续观看",
Expand Down Expand Up @@ -150,8 +153,55 @@
"subtitle-none": "不使用字幕",
"subtitle": "字幕",
"subtitle-change": "切换字幕 {title}",
"subtitle-file": "选择字幕文件",
"torrent-downloading": "正在下载种子"
"subtitle-file": "添加字幕文件",
"torrent-downloading": "正在下载种子",
"no-qualities": "暂无可用画质",
"audio": "音轨",
"getting-streamlink": "正在获取播放链接...",
"streamlink-error": "获取播放链接失败",
"tooltip": {
"close": "关闭",
"subtitle": "字幕",
"play-list": "播放列表",
"quality": "画质",
"speed": "播放速度",
"play": "播放",
"play-or-pause": "播放/暂停",
"previous": "上一个",
"next": "下一个",
"full-screen": "全屏",
"volume": "音量",
"torrent-file-list": "种子文件列表",
"pin": "置顶窗口"
},
"cast": "投屏到设备",
"cast-device": "正在 {device} 上播放",
"sidebar": {
"tab": {
"episodes": "剧集",
"qualitys": "画质",
"torrentFiles": "种子文件列表",
"tracks": "音轨和字幕",
"settings": "设置"
},
"subtitle": {
"title": "字幕",
"font-size": "字体大小",
"font-color": "字体颜色",
"background-color": "背景颜色",
"background-opacity": "背景透明度",
"text-align": "文字对齐",
"font-weight": "字体粗细",
"font-weight-normal": "正常",
"font-weight-bold": "加粗"
},
"play-mode": {
"title": "播放模式",
"single": "播完暂停",
"loop": "循环播放",
"auto-next": "自动下一集"
}
}
},
"reader": {
"chapters": "章节",
Expand Down Expand Up @@ -237,4 +287,4 @@
"manga-chapter-read": "看过的漫画章节: {chapters}",
"anime-episode-watch": "看过的动画剧集: {episodes}"
}
}
}
Loading
Loading