mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 10:01:20 -08:00
refactor: Update video element in Artplayer to support custom canvas or video
This commit is contained in:
1 parent
ced8fb4fb1
commit
5e37979e8f
4 files changed
+1
-4
No files matched your search
@@ -204,7 +204,6 @@ function artplayerProxyWebAV() {
|
||||
}
|
||||
function updateVolume() {
|
||||
if (gainNode) {
|
||||
console.log("updateVolume", state.volume);
|
||||
const effectiveVolume = state.muted ? 0 : state.volume;
|
||||
gainNode.gain.setValueAtTime(effectiveVolume, audioCtx.currentTime);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user