Skip to content

Commit

Permalink
fix: media player freeze on Google chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
alangumer committed Jan 14, 2025
1 parent 440f798 commit 7874e80
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/components/templates/andPlaybackContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,11 @@ export default function AndPlaybackContext({
addButtonToControlBar: true, // Use custom designed button
},
},
html5: {
audio: {
nativeAudioTracks: true,
},
},
};

if (playerRef.current) {
Expand Down

0 comments on commit 7874e80

Please sign in to comment.