Fixes issue in IE where click events on local video thumbnail are captured by local audio object created by Temasys plugin on stream attach.
This commit is contained in:
parent
922d0bd512
commit
ae96b9f365
|
@ -68,6 +68,16 @@ var VideoLayout = (function (my) {
|
||||||
localAudio.autoplay = true;
|
localAudio.autoplay = true;
|
||||||
localAudio.volume = 0;
|
localAudio.volume = 0;
|
||||||
}
|
}
|
||||||
|
// Now when Temasys plugin is converting also <audio> elements to
|
||||||
|
// plugin's <object>s, in current layout it will capture click events
|
||||||
|
// before it reaches the local video object. We hide it here in order
|
||||||
|
// to prevent that.
|
||||||
|
if (RTCBrowserType.isIExplorer()) {
|
||||||
|
// The issue is not present on Safari. Also if we hide it in Safari
|
||||||
|
// then the local audio track will have 'enabled' flag set to false
|
||||||
|
// which will result in audio mute issues
|
||||||
|
$('#localAudio').hide();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
my.changeLocalVideo = function(stream, isMuted) {
|
my.changeLocalVideo = function(stream, isMuted) {
|
||||||
|
|
Loading…
Reference in New Issue