mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-21 17:24:41 +08:00
feat: add setting button
This commit is contained in:
@@ -451,6 +451,7 @@ function PlayPageClient() {
|
||||
|
||||
try {
|
||||
// 创建新的播放器实例
|
||||
Artplayer.PLAYBACK_RATE = [0.5, 0.75, 1, 1.25, 1.5, 2, 3];
|
||||
artPlayerRef.current = new Artplayer({
|
||||
container: artRef.current,
|
||||
url: videoUrl,
|
||||
@@ -464,7 +465,7 @@ function PlayPageClient() {
|
||||
autoSize: false,
|
||||
autoMini: false,
|
||||
screenshot: false,
|
||||
setting: false,
|
||||
setting: true,
|
||||
loop: false,
|
||||
flip: false,
|
||||
playbackRate: true,
|
||||
@@ -556,14 +557,6 @@ function PlayPageClient() {
|
||||
setShowEpisodePanel(true);
|
||||
},
|
||||
},
|
||||
{
|
||||
position: 'right',
|
||||
html: '换源',
|
||||
tooltip: '更换视频源',
|
||||
click: function () {
|
||||
handleSourcePanelOpen();
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user