Skip to content

Commit

Permalink
Revert "Test if video plays automatically"
Browse files Browse the repository at this point in the history
This reverts commit 330d6cc.
  • Loading branch information
mUusitalo committed Sep 4, 2024
1 parent 330d6cc commit ef8b18b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ const App = () => {
) {
// HLS is natively supported in Safari
videoCurrent.src = url
// see if autoplay works
// videoCurrent.addEventListener('loadedmetadata', function () {
// videoCurrent.play()
// })
videoCurrent.addEventListener('loadedmetadata', function () {
videoCurrent.play()
})
} else if (Hls.isSupported()) {
// For other browsers, use Hls.js
newHls = new Hls({ liveDurationInfinity: true })
Expand Down

0 comments on commit ef8b18b

Please sign in to comment.