Skip to content

Commit

Permalink
Mute audio
Browse files Browse the repository at this point in the history
  • Loading branch information
mUusitalo committed Sep 4, 2024
1 parent ef8b18b commit a200df3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const App = () => {
) {
// HLS is natively supported in Safari
videoCurrent.src = url
videoCurrent.defaultMuted = true
videoCurrent.muted = true
videoCurrent.addEventListener('loadedmetadata', function () {
videoCurrent.play()
})
Expand Down

0 comments on commit a200df3

Please sign in to comment.