react-player
react-player copied to clipboard
Wistia config options don't work on v3
Hi there,
I'm searching for documentation on how to provide config options to Wistia on v3. This worked in v2:
<ReactPlayer
url={videoUrl}
width="100%"
controls={true}
config={{
options: {
time: startSec,
videoFoam: true,
autoPlay,
playSuspendedOffScreen,
playlistLoop,
resumable: false,
controlsVisibleOnLoad: false,
},
}}
/>
What is the correct usage for v3?
Yes, the config prop is not yet supported for Wistia. PR's welcome.
Should be added here first https://github.com/muxinc/media-elements/blob/main/packages/wistia-video-element/wistia-video-element.js
Previous similar PR's https://github.com/muxinc/media-elements/pull/94 https://github.com/muxinc/media-elements/pull/128