aboutsummaryrefslogtreecommitdiff
path: root/lib/Artplayer.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Artplayer.js')
-rw-r--r--lib/Artplayer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Artplayer.js b/lib/Artplayer.js
index 49806ed..ae7b88c 100644
--- a/lib/Artplayer.js
+++ b/lib/Artplayer.js
@@ -25,17 +25,17 @@ export default function Player({ option, getInstance, ...rest }) {
const art = new Artplayer({
...option,
container: artRef.current,
+ type: "m3u8",
customType: {
m3u8: playM3u8,
},
fullscreen: true,
- fullscreenWeb: true,
hotkey: true,
lock: true,
autoOrientation: true,
theme: "#f97316",
icons: {
- state: "</>",
+ state: "",
},
});