add muted

This commit is contained in:
Harvey Zack committed 2023-06-29 21:44:33 +08:00
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);
},
});
}
+1
View File
@@ -63,4 +63,5 @@ export type Events = {
subtitleOffset: [offset: number];
restart: [url: string];
loop: [start?: number, end?: number];
muted: [state: boolean];
};