@onyx-p/imlib-web 1.4.9 → 1.5.0
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/index.esm.js +4 -0
- package/index.umd.js +4 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -26939,6 +26939,10 @@ class Sight {
|
|
26939
26939
|
video.onloadedmetadata = resolve;
|
26940
26940
|
video.onerror = reject;
|
26941
26941
|
});
|
26942
|
+
video.currentTime = 0.001;
|
26943
|
+
await new Promise(resolve => {
|
26944
|
+
video.onseeked = resolve;
|
26945
|
+
});
|
26942
26946
|
const duration = video.duration;
|
26943
26947
|
const width = video.videoWidth;
|
26944
26948
|
const height = video.videoHeight;
|
package/index.umd.js
CHANGED
@@ -26945,6 +26945,10 @@
|
|
26945
26945
|
video.onloadedmetadata = resolve;
|
26946
26946
|
video.onerror = reject;
|
26947
26947
|
});
|
26948
|
+
video.currentTime = 0.001;
|
26949
|
+
await new Promise(resolve => {
|
26950
|
+
video.onseeked = resolve;
|
26951
|
+
});
|
26948
26952
|
const duration = video.duration;
|
26949
26953
|
const width = video.videoWidth;
|
26950
26954
|
const height = video.videoHeight;
|