Mutes video elements.
This commit is contained in:
parent
7abe02d756
commit
a2ad7b8f53
|
@ -109,6 +109,9 @@ SmallVideo.createStreamElement = function (stream) {
|
||||||
|
|
||||||
var element = isVideo ? document.createElement('video')
|
var element = isVideo ? document.createElement('video')
|
||||||
: document.createElement('audio');
|
: document.createElement('audio');
|
||||||
|
if (isVideo) {
|
||||||
|
element.setAttribute("muted", "true");
|
||||||
|
}
|
||||||
|
|
||||||
if (!RTCBrowserType.isIExplorer()) {
|
if (!RTCBrowserType.isIExplorer()) {
|
||||||
element.autoplay = true;
|
element.autoplay = true;
|
||||||
|
|
Loading…
Reference in New Issue