cloudinary-video-player 3.0.4-edge.0 → 3.0.4

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.4-edge.0
3
- * Built on 2025-07-01T09:22:08.951Z
2
+ * Cloudinary Video Player v3.0.4
3
+ * Built on 2025-07-02T06:17:02.080Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["adaptive-streaming"],{
@@ -513,9 +513,10 @@ 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.trigger({
517
- type: 'error',
518
- eventData: data
516
+ player.error({
517
+ code: 4,
518
+ // MEDIA_ERR_SRC_NOT_SUPPORTED will trigger Utils.handleCldError
519
+ ...data
519
520
  });
520
521
  }
521
522
  });