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')
|
||||
: document.createElement('audio');
|
||||
if (isVideo) {
|
||||
element.setAttribute("muted", "true");
|
||||
}
|
||||
|
||||
if (!RTCBrowserType.isIExplorer()) {
|
||||
element.autoplay = true;
|
||||
|
|
Loading…
Reference in New Issue