react-awesome-player
react-awesome-player copied to clipboard
Multiple video source not working?
I have this code on my components, but the player is only playing the first video. Did I miss something on configuration?
<ReactAwesomePlayer
onRef={video => { console.log(video) }}
options={
sources:{[
{
type: "video/mp4",
src: "https://cdn.theguardian.tv/webM/player1.webm"
},
{
type: "video/mp4",
src: "https://cdn.theguardian.tv/webM/player2.webm"
}
]},
autoplay
muted
}/>
☕