refactor: Update video element in Artplayer to support custom canvas or video

This commit is contained in:
Harvey Zack committed 2024-08-21 23:44:01 +08:00
1 parent ced8fb4fb1
commit 5e37979e8f
4 files changed
+1 -4

No files matched your search

@@ -63,7 +63,6 @@ export default function artplayerProxyWebAV() {
function updateVolume() {
if (gainNode) {
console.log('updateVolume', state.volume);
const effectiveVolume = state.muted ? 0 : state.volume;
gainNode.gain.setValueAtTime(effectiveVolume, audioCtx.currentTime);
}