cloudinary-video-player 3.0.3 → 3.0.4-edge.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.0.2
3
- * Built on 2025-07-01T09:40:13.816Z
2
+ * Cloudinary Video Player v3.0.4-edge.0
3
+ * Built on 2025-07-01T09:22:08.951Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["adaptive-streaming"],{
@@ -513,10 +513,9 @@ const qualityLevels = (player, options) => {
513
513
  hls.on(hls_js__WEBPACK_IMPORTED_MODULE_1__["default"].Events.ERROR, (eventName, data) => {
514
514
  debugLog(`HLS event: ${eventName}`, data);
515
515
  if (data.fatal) {
516
- player.error({
517
- code: 4,
518
- // MEDIA_ERR_SRC_NOT_SUPPORTED will trigger Utils.handleCldError
519
- ...data
516
+ player.trigger({
517
+ type: 'error',
518
+ eventData: data
520
519
  });
521
520
  }
522
521
  });