diff --git a/app/javascript/flavours/glitch/features/video/index.jsx b/app/javascript/flavours/glitch/features/video/index.jsx index a3050dfa6e..577ebc9ec3 100644 --- a/app/javascript/flavours/glitch/features/video/index.jsx +++ b/app/javascript/flavours/glitch/features/video/index.jsx @@ -441,6 +441,10 @@ class Video extends PureComponent { }; _syncVideoToVolumeState = (volume = null, muted = null) => { + if (!this.video) { + return; + } + this.video.volume = volume ?? this.state.volume; this.video.muted = muted ?? this.state.muted; };