Hi,
thank you for your response. I think that I am not fully understanding your answer, however I have made a few more experiments to better understand the problem:
- In Safari, when the plugin(your adapter.js) is not embedded, mediadevices is not defined also in Safari. As soon as I have included your AJS mediadevices object was defined in Safari.
- On the other side - in IE - it doesnt matter if AJS is included or not, mediadevices is not defined in both cases.
I have also looked in the documentation of mediadevices API and it is not supported by Safari, neither IE. Promise object is supported in Safari but in IE it is not.
So am I right when Im saying that currently it is not possible to make mediadevices API to work in IE because of not supporting of the promise objects? You have stated that i should be able to get mediadevices before requiring AJS, but as I have already said, it looks like that in Safari it is required to include AJS and in IE it doesnt make a difference if its included or not - mediadevices is still undefined.
I hope its much more clearier right now, please let me know if I am understanding something wrong and if there is some solution to my problem.
thank you
Milan
Dňa utorok, 7. júna 2016 4:22:44 UTC+2 Jacques-Olivier Haché napísal(-a):