mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 18:01:53 +00:00
handle (ignore) exception on setAllowNetworking call
This commit is contained in:
@@ -161,7 +161,12 @@ public final class FlashPlayerPanel extends Panel implements Closeable, MediaDis
|
||||
}
|
||||
|
||||
flash.setAllowScriptAccess("always");
|
||||
flash.setAllowNetworking("all");
|
||||
try {
|
||||
flash.setAllowNetworking("all");
|
||||
} catch (ActiveXException ex) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
flash.addOnReadyStateChangeListener((ActiveXEvent axe) -> {
|
||||
fireMediaDisplayStateChanged();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user