@viji-dev/core 0.3.18 → 0.3.20
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/{essentia-wasm.web-yEo8eq6n.js → essentia-wasm.web-MJg8deal.js} +2 -2
- package/dist/{essentia-wasm.web-yEo8eq6n.js.map → essentia-wasm.web-MJg8deal.js.map} +1 -1
- package/dist/{index-BSQyI1F-.js → index-DW8r2Eux.js} +6 -6
- package/dist/index-DW8r2Eux.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-BSQyI1F-.js.map +0 -1
|
@@ -73,8 +73,11 @@ class IFrameManager {
|
|
|
73
73
|
document.body.appendChild(hiddenContainer);
|
|
74
74
|
hiddenContainer.appendChild(iframe);
|
|
75
75
|
} else {
|
|
76
|
+
if (getComputedStyle(this.hostContainer).position === "static") {
|
|
77
|
+
this.hostContainer.style.position = "relative";
|
|
78
|
+
}
|
|
76
79
|
const visibility = this.initiallyVisible ? "" : "visibility:hidden;";
|
|
77
|
-
iframe.style.cssText = `width:100%;height:100%;border:none
|
|
80
|
+
iframe.style.cssText = `position:absolute;top:0;left:0;width:100%;height:100%;border:none;${visibility}`;
|
|
78
81
|
this.hostContainer.appendChild(iframe);
|
|
79
82
|
}
|
|
80
83
|
const iframeContent = this.generateIFrameHTML();
|
|
@@ -1913,7 +1916,7 @@ class EssentiaOnsetDetection {
|
|
|
1913
1916
|
this.initPromise = (async () => {
|
|
1914
1917
|
try {
|
|
1915
1918
|
const essentiaModule = await import("./essentia.js-core.es-DnrJE0uR.js");
|
|
1916
|
-
const wasmModule = await import("./essentia-wasm.web-
|
|
1919
|
+
const wasmModule = await import("./essentia-wasm.web-MJg8deal.js").then((n) => n.e);
|
|
1917
1920
|
const EssentiaClass = essentiaModule.Essentia || essentiaModule.default?.Essentia || essentiaModule.default;
|
|
1918
1921
|
let WASMModule = wasmModule.default || wasmModule.EssentiaWASM || wasmModule.default?.EssentiaWASM;
|
|
1919
1922
|
if (!WASMModule) {
|
|
@@ -14747,9 +14750,6 @@ class VijiCore {
|
|
|
14747
14750
|
}
|
|
14748
14751
|
this.isInitializing = true;
|
|
14749
14752
|
this.debugLog(`Starting VijiCore initialization... (${this.instanceId})`);
|
|
14750
|
-
if (this.config.hostContainer) {
|
|
14751
|
-
this.config.hostContainer.innerHTML = "";
|
|
14752
|
-
}
|
|
14753
14753
|
this.iframeManager = new IFrameManager(
|
|
14754
14754
|
this.config.hostContainer || null,
|
|
14755
14755
|
this.config.resolution,
|
|
@@ -16320,4 +16320,4 @@ export {
|
|
|
16320
16320
|
VijiCoreError as b,
|
|
16321
16321
|
getDefaultExportFromCjs as g
|
|
16322
16322
|
};
|
|
16323
|
-
//# sourceMappingURL=index-
|
|
16323
|
+
//# sourceMappingURL=index-DW8r2Eux.js.map
|