allow setting which device/media source to use. - #31
Conversation
…bile devices where there might not be a chooser for multiple devices, but the first best is used (chrome, as of writing this commit message)
|
Hi @nylki ! Thank you very much for your contribution. I will be happy to accept your changes as soon as the build is passing. |
|
@jonashartmann I made the code style changes. |
|
@nylki here are some pointers ☺
http://mobile.htmlgoodies.com/beyond/javascript/testing-javascript-using-the-jasmine-framework.html |
This is useful for mobile devices where there might not be a chooser for multiple devices, but the first best is used (chrome, as of writing this commit message).
To init the element you would do something like this in your client code:
notice the:
source: videoSources[1]in the configuration.