mirror of
https://github.com/SrIzan10/vdo.ninja.git
synced 2026-05-01 11:05:24 +00:00
fix sstype=3 + mic mute breaking
This commit is contained in:
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, '*');
|
||||
|
||||
Reference in New Issue
Block a user