Merge pull request #443 in FS/freeswitch from ~JMESQUITA/freeswitch:bugfix/FS-8060-webkit-does-like-to-set-src-of-video to master
* commit 'f327e103652bd19609f7ad7ccdb02d8ad101d235': FS-8060: [verto.js] conditionally set video tag src to null for FF and empty string for others.
This commit is contained in:
commit
35e503b72a
|
@ -295,7 +295,11 @@ var iceTimer;
|
|||
|
||||
if (self.options.useVideo) {
|
||||
self.options.useVideo.style.display = 'none';
|
||||
self.options.useVideo[moz ? 'mozSrcObject' : 'src'] = null;
|
||||
if (moz) {
|
||||
self.options.useVideo['mozSrcObject'] = null;
|
||||
} else {
|
||||
self.options.useVideo['src'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
if (self.localStream) {
|
||||
|
@ -305,7 +309,11 @@ var iceTimer;
|
|||
|
||||
if (self.options.localVideo) {
|
||||
self.options.localVideo.style.display = 'none';
|
||||
self.options.localVideo[moz ? 'mozSrcObject' : 'src'] = null;
|
||||
if (moz) {
|
||||
self.options.localVideo['mozSrcObject'] = null;
|
||||
} else {
|
||||
self.options.localVideo['src'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
if (self.options.localVideoStream) {
|
||||
|
|
Loading…
Reference in New Issue