Skip to content

Multiple video source not working? #8

Open
@muhammad-ihsan

Description

@muhammad-ihsan

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
}/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions