stormcloud-video-player 0.2.0 → 0.2.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/stormcloud-vp.min.js +10 -1
- package/lib/index.cjs +1196 -1187
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +10 -10
- package/lib/index.d.ts +10 -10
- package/lib/index.js +1264 -1256
- package/lib/index.js.map +1 -1
- package/lib/ui/StormcloudVideoPlayer.cjs +6 -1
- package/lib/ui/StormcloudVideoPlayer.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1810,7 +1810,12 @@ var StormcloudVideoPlayerComponent = import_react.default.memo(
|
|
|
1810
1810
|
const showNative = player.shouldShowNativeControls();
|
|
1811
1811
|
setShouldShowNativeControls(showNative);
|
|
1812
1812
|
onReady?.(player);
|
|
1813
|
-
}).catch(() => {
|
|
1813
|
+
}).catch((error) => {
|
|
1814
|
+
console.error(
|
|
1815
|
+
"StormcloudVideoPlayer: Failed to load player:",
|
|
1816
|
+
error
|
|
1817
|
+
);
|
|
1818
|
+
onReady?.(player);
|
|
1814
1819
|
});
|
|
1815
1820
|
return () => {
|
|
1816
1821
|
try {
|