mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
add muted
This commit is contained in:
1 parent
6c7daa8dc7
commit
eac37379d3
5 files changed
+84
-33
No files matched your search
@@ -23,6 +23,7 @@ export default function volumeMix(art) {
|
||||
get: () => $video.muted,
|
||||
set: (muted) => {
|
||||
$video.muted = muted;
|
||||
art.emit('muted', muted);
|
||||
},
|
||||
});
|
||||
}
|
||||
Vendored
+1
@@ -63,4 +63,5 @@ export type Events = {
|
||||
subtitleOffset: [offset: number];
|
||||
restart: [url: string];
|
||||
loop: [start?: number, end?: number];
|
||||
muted: [state: boolean];
|
||||
};
|
||||
Reference in new issue
Block a user