mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 13:48:38 +00:00
fix sstype=3 + mic mute breaking
This commit is contained in:
parent
def151a5af
commit
aebb5602e7
2
lib.js
2
lib.js
@ -10374,7 +10374,7 @@ function toggleMute(apply = false, event=false) { // TODO: I need to have this b
|
||||
}
|
||||
|
||||
function postMessageIframe(iFrameEle, message){ // iframes seem to only have the contentWindow work on the last placed iframe object, so this checks the dom first.
|
||||
if (iFrameEle){
|
||||
if (iFrameEle && (iFrameEle.nodeName == "IFRAME")){
|
||||
try{
|
||||
if (iFrameEle.id && document.getElementById(iFrameEle.id)){
|
||||
document.getElementById(iFrameEle.id).contentWindow.postMessage(message, '*');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user