A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
I'm trying to have a video play in background mode (looping, muted, no controls) until it is clicked, then to restart as per usual with the full player. Updating the Vimeo player's config prop dynamically doesn't seem to work. It would be great to either fix that or to have an instance method to re-initialise the player.
Current Behavior
Changing config dynamically does not update the player
Expected Behavior
Changing config dynamically should update the player, or the player should provide a reset method on the instance
Steps to Reproduce
Set background: true on Vimeo player
Programatically set background: false on playing Vimeo player
I'm trying to have a video play in background mode (looping, muted, no controls) until it is clicked, then to restart as per usual with the full player. Updating the Vimeo player's
config
prop dynamically doesn't seem to work. It would be great to either fix that or to have an instance method to re-initialise the player.Current Behavior
Changing
config
dynamically does not update the playerExpected Behavior
Changing
config
dynamically should update the player, or the player should provide a reset method on the instanceSteps to Reproduce
background: true
on Vimeo playerbackground: false
on playing Vimeo playerEnvironment