-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Is there a way to add few html5 source tags? #81
Comments
Currently only a single How would it work? Perhaps <ReactPlayer playing={true}>
<source src='foo.webm' type='video/webm'>
<source src='foo.ogg' type='video/ogg'>
<source src='foo.mov' type='video/quicktime'>
</ReactPlayer> The trouble is that the <ReactPlayer
playing={true}
url={['foo.webm', 'foo.ogg']}
/> Or if we still want to specify a <ReactPlayer
playing={true}
url={[
{src: 'foo.webm', type: 'video/webm'},
{src: 'foo.ogg', type: 'video/ogg'}
]}
/> |
This would be awesome. Any movement on this? |
I've pushed a possible fix for this to the |
Would love to see that multiple-sources branch get pulled in to the master. |
Hello @cookpete
Thanks for the nice lib!
Is there a way to add few html5 source tags or the only option is to use
url
prop for single source?The text was updated successfully, but these errors were encountered: