@lvce-editor/embeds-worker 4.15.0 → 4.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/embedsWorkerMain.js +4 -0
- package/package.json +1 -1
package/dist/embedsWorkerMain.js
CHANGED
|
@@ -1083,6 +1083,9 @@ const setIframeSrc = async (id, iframeSrc) => {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
1085
|
};
|
|
1086
|
+
const setAudioMuted = (id, muted) => {
|
|
1087
|
+
return invokeAny$1('ElectronWebContentsView.setAudioMuted', id, muted);
|
|
1088
|
+
};
|
|
1086
1089
|
const focus = id => {
|
|
1087
1090
|
return invoke$1('ElectronWebContentsView.focus', id);
|
|
1088
1091
|
};
|
|
@@ -1220,6 +1223,7 @@ const commandMap = {
|
|
|
1220
1223
|
'ElectronWebContentsView.openDevtools': openDevtools,
|
|
1221
1224
|
'ElectronWebContentsView.reload': reload,
|
|
1222
1225
|
'ElectronWebContentsView.resizeWebContentsView': resizeWebContentsView,
|
|
1226
|
+
'ElectronWebContentsView.setAudioMuted': setAudioMuted,
|
|
1223
1227
|
'ElectronWebContentsView.setFallthroughKeyBindings': setFallthroughKeyBindings,
|
|
1224
1228
|
'ElectronWebContentsView.setIframeSrc': setIframeSrc,
|
|
1225
1229
|
'ElectronWebContentsView.show': show,
|