You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ReactPlayer in a Next.js project with the --turbo flag enabled, audio is duplicated starting from version 2.14 up to 2.16 of react-player. The issue does not occur in earlier versions (e.g., 2.13). This happens when toggling the ReactPlayer component based on state and occurs only the first time after the page loads.
Expected Behavior
Audio should play without duplication when ReactPlayer is triggered, and the sound should play as expected without overlapping.
Steps to Reproduce
Use Next.js with the --turbo flag ("dev": "next dev --turbo").
Include the ReactPlayer component that streams video from a local or remote source.
Toggle the player using a button to initiate playback.
Observe that, starting from react-player versions 2.14 - 2.16, the sound is duplicated.
Current Behavior
When using
ReactPlayer
in a Next.js project with the--turbo
flag enabled, audio is duplicated starting from version2.14
up to2.16
ofreact-player
. The issue does not occur in earlier versions (e.g.,2.13
). This happens when toggling theReactPlayer
component based on state and occurs only the first time after the page loads.Expected Behavior
Audio should play without duplication when
ReactPlayer
is triggered, and the sound should play as expected without overlapping.Steps to Reproduce
--turbo
flag ("dev": "next dev --turbo"
).ReactPlayer
component that streams video from a local or remote source.react-player
versions2.14
-2.16
, the sound is duplicated.Environment
Code Example
The text was updated successfully, but these errors were encountered: