@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 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "1.4.9",
3
+ "version": "1.5.0",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",