Open soft-dave opened 7 years ago
I am having the same problem. If you have any insight, I would greatly appreciate it. I have scoured the web and found the closest replica of my problem to be : http://stackoverflow.com/questions/39646199/how-to-access-video-play-api-on-modern-chrome
The success(stream)
method in the demo using the latest Chrome causes a problem where stream
is an object, so the solution is to set video.srcObject = stream
.
Like this:
if (video.mozSrcObject !== undefined) { // FF18a
video.mozSrcObject = stream;
} else if (video.srcObject !== undefined) {
video.srcObject = stream;
} else { // FF16a, 17a
video.src = stream;
}
+1
Not working in Chrome it gives below error while using this plugin,
" Uncaught (in promise) DOMException: Failed to load because no supported source was found. "
It's nice you give some solution for same to resolve this.