cloudinary-video-player 3.13.1 → 3.13.2-edge.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.
Files changed (73) hide show
  1. package/dist/134.min.js +4 -4
  2. package/dist/309.min.js +3 -3
  3. package/dist/350.min.js +6 -0
  4. package/dist/689.min.js +6 -0
  5. package/dist/adaptive-streaming.js +2 -2
  6. package/dist/adaptive-streaming.min.js +2 -2
  7. package/dist/chapters.js +2 -2
  8. package/dist/chapters.min.js +2 -2
  9. package/dist/cld-player-core.js +2 -2
  10. package/dist/cld-player-core.min.js +2 -2
  11. package/dist/cld-poster-url.js +57 -0
  12. package/dist/cld-poster-url.min.js +6 -0
  13. package/dist/cld-video-player-lazy.js +10 -66
  14. package/dist/cld-video-player-lazy.min.js +3 -3
  15. package/dist/cld-video-player.css +6 -2
  16. package/dist/cld-video-player.js +35 -45
  17. package/dist/cld-video-player.light.js +35 -45
  18. package/dist/cld-video-player.light.min.js +4 -4
  19. package/dist/cld-video-player.min.css +3 -3
  20. package/dist/cld-video-player.min.js +4 -4
  21. package/dist/colors.js +2 -2
  22. package/dist/colors.min.js +2 -2
  23. package/dist/dash.js +2 -2
  24. package/dist/dash.min.js +2 -2
  25. package/dist/debug.js +3 -3
  26. package/dist/debug.min.js +3 -3
  27. package/dist/ima.js +2 -2
  28. package/dist/ima.min.js +2 -2
  29. package/dist/interaction-areas.js +2 -2
  30. package/dist/interaction-areas.min.js +2 -2
  31. package/dist/node_modules_lodash_throttle_js.js +2 -2
  32. package/dist/playlist.js +2 -2
  33. package/dist/playlist.min.js +2 -2
  34. package/dist/{plugins_cloudinary_url-helpers_js-utils_object_js-utils_querystring_js-utils_utf8Base64_js-vi-555007.js → plugins_cloudinary_url-helpers_js-utils_cloudinary-config-from-options_js-utils_querystring_j-adfe37.js} +48 -4
  35. package/dist/recommendations-overlay.js +2 -2
  36. package/dist/recommendations-overlay.min.js +2 -2
  37. package/dist/schema.json +16 -0
  38. package/dist/share.js +2 -2
  39. package/dist/share.min.js +2 -2
  40. package/dist/shoppable.js +2 -2
  41. package/dist/shoppable.min.js +2 -2
  42. package/dist/utils_fetch-config_js.js +3 -3
  43. package/dist/utils_schedule_js.js +27 -0
  44. package/dist/video-player_js.js +11 -11
  45. package/dist/visual-search.js +2 -2
  46. package/dist/visual-search.min.js +2 -2
  47. package/lib/all.js +3 -2
  48. package/lib/chapters.js +2 -2
  49. package/lib/cld-video-player.min.css +3 -3
  50. package/lib/{object.js → cloudinary-config-from-options.js} +10 -2
  51. package/lib/cloudinary-url-prefix.js +91 -0
  52. package/lib/colors.js +2 -2
  53. package/lib/config/configSchema.json +16 -0
  54. package/lib/debug.js +1 -0
  55. package/lib/fetch-config.js +4 -11
  56. package/lib/index.js +3 -2
  57. package/lib/interaction-areas.service.js +2 -2
  58. package/lib/lazy.js +0 -1
  59. package/lib/player-api.js +171 -413
  60. package/lib/player.js +2 -1
  61. package/lib/playlist.js +2 -2
  62. package/lib/poster-url.js +46 -0
  63. package/lib/recommendations-overlay.js +2 -2
  64. package/lib/schedule.js +153 -0
  65. package/lib/share.js +2 -2
  66. package/lib/shoppable-widget.js +2 -2
  67. package/lib/toNumber.js +1 -1
  68. package/lib/video-player.const.js +1 -1
  69. package/lib/video-player.js +25 -11
  70. package/lib/videoPlayer.js +2 -1
  71. package/package.json +1 -1
  72. package/types/cld-video-player.d.ts +6 -0
  73. package/dist/19.min.js +0 -6
package/dist/chapters.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:44.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:23.138Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:27.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:06.877Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  "use strict";(self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[625],{9234(t,e,r){r.d(e,{default:()=>c});var s=r(6673),a=r.n(s),i=r(5770),o=r(2415),n=r(7311);const p=function(){function t(t,e){return this.player=t,this.options=e,this.player.one("loadedmetadata",this.initializeChapters.bind(this)),this}return t.prototype.src=function(t){this.resetPlugin(),this.options=t,this.player.one("loadedmetadata",this.initializeChapters.bind(this))},t.prototype.detach=function(){this.resetPlugin()},t.prototype.resetPlugin=function(){this.chaptersTrack&&(this.player.$(".vjs-control-bar-chapter-display").remove(),this.player.$(".vjs-chapter-display").remove(),this.player.$$(".vjs-chapter-marker").forEach(t=>t.remove()),this.player.removeRemoteTextTrack(this.chaptersTrack),delete this.chaptersTrack)},t.prototype.getChaptersFileUrlByName=function(){const t=this.player.cloudinary.currentPublicId();if(!t)return null;const e=this.player.cloudinary.source(),{type:r}=e.resourceConfig(),s=`${(0,i.k$)(this.player.cloudinary.cloudinaryConfig())}/_applet_/video_service/chapters/${r}/${(0,o.G)(t)}.vtt`;return(0,n.N)(s,e.queryParams())},t.prototype.initializeChapters=async function(){const t=!0===this.options?this.getChaptersFileUrlByName():this.options.url;if(t){const e={kind:"chapters",src:t,default:!0},r=this.player.addRemoteTextTrack(e);r.addEventListener("load",()=>{this.chaptersTrack=r.track,this.setupChaptersDisplays()})}else if(Object.entries(this.options).length){const t=this.player.addRemoteTextTrack({kind:"chapters",default:!0}),e=this.player.duration();Object.entries(this.options).forEach((r,s,a)=>{const i=new VTTCue(parseFloat(r[0]),parseFloat(a[s+1]?a[s+1][0]:e),r[1]);t.track.addCue(i)}),this.chaptersTrack=t.track,this.setupChaptersDisplays(),this.player.controlBar.chaptersButton&&this.player.controlBar.chaptersButton.update()}},t.prototype.setupChaptersDisplays=function(){this.setupProgressBarMarkers(),this.setupProgressBarChapter(),this.setupControlBarChapter()},t.prototype.setupControlBarChapter=function(){const t=this.player.$(".vjs-control-bar-chapter-display")||document.createElement("div");t.setAttribute("class","vjs-control-bar-chapter-display");const e=this.player.$(".vjs-control-bar .vjs-spacer");e.innerHTML="",e.classList.add("vjs-control-bar-chapter-wrapper"),e.appendChild(t),this.chaptersTrack.addEventListener("cuechange",()=>{const e=Array.from(this.chaptersTrack.activeCues);t.innerText=e.length>0?e[0].text:""})},t.prototype.setupProgressBarMarkers=function(){const t=this.player.duration(),{seekBar:e}=this.player.controlBar.progressControl;Array.from(this.chaptersTrack.cues).forEach(r=>{if(0!==r.startTime){const s=r.startTime/t*100+"%",i=a().dom.createEl("div",void 0,{class:"vjs-chapter-marker",style:`left: ${s}`});e.el().append(i)}})},t.prototype.setupProgressBarChapter=function(){const t=a().dom.createEl("div",void 0,{class:"vjs-chapter-display",style:`max-width: ${this.player.$(".vjs-vtt-thumbnail-display")?this.player.$(".vjs-vtt-thumbnail-display").style.width:"160px"}`}),e=this.player.getDescendant(["controlBar","progressControl","seekBar","mouseTimeDisplay"]),r=e.getDescendant(["timeTooltip"]);r.el().parentElement.prepend(t);const s=t=>{const e=t*this.player.duration(),r=Array.from(this.chaptersTrack?.cues||[]).find(t=>e>=t.startTime&&e<=t.endTime);return r?r.text:""};r.update=function(e,r,a){Object.getPrototypeOf(this).update.call(this,e,r,a),t.innerText=s(r)},"object"!=typeof this.player.vttThumbnails&&(e.update=function(e,s){const i=s*this.player_.duration(),o=e.width,n=t.clientWidth/2;r.updateTime(e,s,i,()=>{e.width*s<n?this.el_.style.left=`${n}px`:e.width*s+n>o?this.el_.style.left=e.width-n+"px":this.el_.style.left=e.width*s+"px"}),r.write(a().time.formatTime(i))})},t}(),c=function(t,e){e.addClass("vjs-chapters"),e.chapters=new p(e,t)}}}]);
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:44.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:23.138Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:27.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:06.877Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  "use strict";(self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[76],{9167(e,i,l){l.d(i,{videoPlayer:()=>r});l(6673);var n=l(1134),o=l(2984);const r=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;return(0,n.createVideoPlayer)(e,i,l)},d=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;return(0,o.wQ)(e,i,l,n.C)};(0,o.hg)({videoPlayer:r,videoPlayers:(e,i,l)=>(0,o.ci)(e,i,l,r),player:d,players:(e,i,l)=>(0,o.Hn)(e,i,l,d)})}}]);
@@ -0,0 +1,57 @@
1
+ /*!
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:23.138Z
4
+ * https://github.com/cloudinary/cloudinary-video-player
5
+ */
6
+ "use strict";
7
+ /*
8
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
9
+ * This devtool is neither made for production nor for readable output files.
10
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
11
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
12
+ * or disable the default devtool with "devtool: false".
13
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
14
+ */
15
+ (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["cld-poster-url"],{
16
+
17
+ /***/ "./utils/cloudinary-url-prefix.js"
18
+ /*!****************************************!*\
19
+ !*** ./utils/cloudinary-url-prefix.js ***!
20
+ \****************************************/
21
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22
+
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCloudinaryUrlPrefix: () => (/* binding */ getCloudinaryUrlPrefix)\n/* harmony export */ });\n/* harmony import */ var _cloudinary_url_gen_backwards_utils_unsigned_url_prefix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @cloudinary/url-gen/backwards/utils/unsigned_url_prefix */ \"../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js\");\n\nconst getCloudinaryUrlPrefix = cloudinaryConfig => {\n return (0,_cloudinary_url_gen_backwards_utils_unsigned_url_prefix__WEBPACK_IMPORTED_MODULE_0__.unsigned_url_prefix)(null, cloudinaryConfig.cloud_name, cloudinaryConfig.private_cdn, cloudinaryConfig.cdn_subdomain, cloudinaryConfig.secure_cdn_subdomain, cloudinaryConfig.cname, cloudinaryConfig.secure ?? true, cloudinaryConfig.secure_distribution);\n};\n\n//# sourceURL=webpack:///./utils/cloudinary-url-prefix.js?\n}");
24
+
25
+ /***/ },
26
+
27
+ /***/ "./utils/poster-url.js"
28
+ /*!*****************************!*\
29
+ !*** ./utils/poster-url.js ***!
30
+ \*****************************/
31
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
32
+
33
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ buildPosterUrl: () => (/* binding */ buildPosterUrl),\n/* harmony export */ getPosterUrl: () => (/* binding */ getPosterUrl)\n/* harmony export */ });\n/* harmony import */ var _cloudinary_url_prefix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloudinary-url-prefix */ \"./utils/cloudinary-url-prefix.js\");\n/**\n * Cloudinary video poster URLs for bootstrap paths (lazy shell, schedule image) where the full player is not loaded.\n * Default delivery matches VideoSource poster defaults: video resource, JPG still.\n */\n\n\n/**\n * @param {string} cloudName\n * @param {string} publicId\n * @param {object} [cloudinaryConfig] - Same shape as player `cloudinaryConfig` (e.g. private_cdn, cname, secure).\n * @returns {string}\n */\nconst buildPosterUrl = function (cloudName, publicId) {\n let cloudinaryConfig = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const config = {\n cloud_name: cloudName || cloudinaryConfig.cloud_name,\n ...cloudinaryConfig,\n secure: cloudinaryConfig.secure ?? true\n };\n const prefix = (0,_cloudinary_url_prefix__WEBPACK_IMPORTED_MODULE_0__.getCloudinaryUrlPrefix)(config);\n return `${prefix}/video/upload/${publicId}.jpg`;\n};\n\n/**\n * Resolves the poster URL for lazy bootstrap from player options.\n *\n * @param {object} options - Player options (`poster`, `cloudName` / `cloud_name`, `publicId` / `sourceOptions.publicId`, `cloudinaryConfig`).\n * @returns {string}\n * @throws {Error} When no explicit `poster` string and cloud name + public id are missing.\n */\nconst getPosterUrl = options => {\n if (typeof options?.poster === 'string' && options.poster.length > 0) {\n return options.poster;\n }\n const cloudName = options?.cloudName || options?.cloud_name || options?.cloudinaryConfig?.cloud_name;\n const publicId = options?.publicId || options?.sourceOptions?.publicId;\n if (cloudName && publicId) {\n return buildPosterUrl(cloudName, publicId, options?.cloudinaryConfig || {\n cloud_name: cloudName\n });\n }\n throw new Error('lazy requires a poster URL or cloudName and publicId');\n};\n\n//# sourceURL=webpack:///./utils/poster-url.js?\n}");
34
+
35
+ /***/ },
36
+
37
+ /***/ "../node_modules/@cloudinary/url-gen/backwards/consts.js"
38
+ /*!***************************************************************!*\
39
+ !*** ../node_modules/@cloudinary/url-gen/backwards/consts.js ***!
40
+ \***************************************************************/
41
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
42
+
43
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AKAMAI_SHARED_CDN: () => (/* binding */ AKAMAI_SHARED_CDN),\n/* harmony export */ CF_SHARED_CDN: () => (/* binding */ CF_SHARED_CDN),\n/* harmony export */ LAYER_KEYWORD_PARAMS: () => (/* binding */ LAYER_KEYWORD_PARAMS),\n/* harmony export */ LEGACY_CONDITIONAL_OPERATORS: () => (/* binding */ LEGACY_CONDITIONAL_OPERATORS),\n/* harmony export */ LEGACY_PREDEFINED_VARS: () => (/* binding */ LEGACY_PREDEFINED_VARS),\n/* harmony export */ NUMBER_PATTERN: () => (/* binding */ NUMBER_PATTERN),\n/* harmony export */ OFFSET_ANY_PATTERN: () => (/* binding */ OFFSET_ANY_PATTERN),\n/* harmony export */ OFFSET_ANY_PATTERN_RE: () => (/* binding */ OFFSET_ANY_PATTERN_RE),\n/* harmony export */ OLD_AKAMAI_SHARED_CDN: () => (/* binding */ OLD_AKAMAI_SHARED_CDN),\n/* harmony export */ RANGE_VALUE_RE: () => (/* binding */ RANGE_VALUE_RE),\n/* harmony export */ SHARED_CDN: () => (/* binding */ SHARED_CDN)\n/* harmony export */ });\nconst LEGACY_CONDITIONAL_OPERATORS = {\n \"=\": 'eq',\n \"!=\": 'ne',\n \"<\": 'lt',\n \">\": 'gt',\n \"<=\": 'lte',\n \">=\": 'gte',\n \"&&\": 'and',\n \"||\": 'or',\n \"*\": \"mul\",\n \"/\": \"div\",\n \"+\": \"add\",\n \"-\": \"sub\",\n \"^\": \"pow\"\n};\nconst CF_SHARED_CDN = \"d3jpl91pxevbkh.cloudfront.net\";\nconst OLD_AKAMAI_SHARED_CDN = \"cloudinary-a.akamaihd.net\";\nconst AKAMAI_SHARED_CDN = \"res.cloudinary.com\";\nconst SHARED_CDN = AKAMAI_SHARED_CDN;\nconst LEGACY_PREDEFINED_VARS = {\n \"aspect_ratio\": \"ar\",\n \"aspectRatio\": \"ar\",\n \"current_page\": \"cp\",\n \"currentPage\": \"cp\",\n \"duration\": \"du\",\n \"face_count\": \"fc\",\n \"faceCount\": \"fc\",\n \"height\": \"h\",\n \"initial_aspect_ratio\": \"iar\",\n \"initial_height\": \"ih\",\n \"initial_width\": \"iw\",\n \"initialAspectRatio\": \"iar\",\n \"initialHeight\": \"ih\",\n \"initialWidth\": \"iw\",\n \"initial_duration\": \"idu\",\n \"initialDuration\": \"idu\",\n \"page_count\": \"pc\",\n \"page_x\": \"px\",\n \"page_y\": \"py\",\n \"pageCount\": \"pc\",\n \"pageX\": \"px\",\n \"pageY\": \"py\",\n \"tags\": \"tags\",\n \"width\": \"w\"\n};\nconst NUMBER_PATTERN = \"([0-9]*)\\\\.([0-9]+)|([0-9]+)\";\nconst OFFSET_ANY_PATTERN = `(${NUMBER_PATTERN})([%pP])?`;\nconst RANGE_VALUE_RE = RegExp(`^${OFFSET_ANY_PATTERN}$`);\nconst OFFSET_ANY_PATTERN_RE = RegExp(`(${OFFSET_ANY_PATTERN})\\\\.\\\\.(${OFFSET_ANY_PATTERN})`);\nconst LAYER_KEYWORD_PARAMS = {\n font_weight: \"normal\",\n font_style: \"normal\",\n text_decoration: \"none\",\n text_align: '',\n stroke: \"none\"\n};\n\n\n//# sourceURL=webpack:///../node_modules/@cloudinary/url-gen/backwards/consts.js?\n}");
44
+
45
+ /***/ },
46
+
47
+ /***/ "../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js"
48
+ /*!**********************************************************************************!*\
49
+ !*** ../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js ***!
50
+ \**********************************************************************************/
51
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
52
+
53
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unsigned_url_prefix: () => (/* binding */ unsigned_url_prefix)\n/* harmony export */ });\n/* harmony import */ var _consts_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../consts.js */ \"../node_modules/@cloudinary/url-gen/backwards/consts.js\");\n\nfunction unsigned_url_prefix(source, cloud_name, private_cdn, cdn_subdomain, secure_cdn_subdomain, cname, secure, secure_distribution) {\n let prefix;\n if (cloud_name.indexOf(\"/\") === 0) {\n return '/res' + cloud_name;\n }\n let shared_domain = !private_cdn;\n if (secure) {\n if ((secure_distribution == null) || secure_distribution === _consts_js__WEBPACK_IMPORTED_MODULE_0__.OLD_AKAMAI_SHARED_CDN) {\n secure_distribution = private_cdn ? cloud_name + \"-res.cloudinary.com\" : _consts_js__WEBPACK_IMPORTED_MODULE_0__.SHARED_CDN;\n }\n if (shared_domain == null) {\n shared_domain = secure_distribution === _consts_js__WEBPACK_IMPORTED_MODULE_0__.SHARED_CDN;\n }\n prefix = 'https://' + secure_distribution;\n }\n else if (cname) {\n // let subdomain = cdn_subdomain ? 'a' + ((crc32(source) % 5) + 1) + '.' : '';\n prefix = 'http://' + cname;\n }\n else {\n let cdn_part = private_cdn ? cloud_name + '-' : '';\n let host = [cdn_part, 'res', '.cloudinary.com'].join('');\n prefix = 'http://' + host;\n }\n if (shared_domain) {\n prefix += '/' + cloud_name;\n }\n return prefix;\n}\n\n\n//# sourceURL=webpack:///../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js?\n}");
54
+
55
+ /***/ }
56
+
57
+ }]);
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:06.877Z
4
+ * https://github.com/cloudinary/cloudinary-video-player
5
+ */
6
+ "use strict";(self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[172],{1741(e,i,t){t.d(i,{k:()=>a});var n=t(4870);const a=e=>(0,n.D)(null,e.cloud_name,e.private_cdn,e.cdn_subdomain,e.secure_cdn_subdomain,e.cname,e.secure??!0,e.secure_distribution)},4705(e,i,t){t.r(i),t.d(i,{buildPosterUrl:()=>a,getPosterUrl:()=>o});var n=t(1741);const a=function(e,i){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a={cloud_name:e||t.cloud_name,...t,secure:t.secure??!0};return`${(0,n.k)(a)}/video/upload/${i}.jpg`},o=e=>{if("string"==typeof e?.poster&&e.poster.length>0)return e.poster;const i=e?.cloudName||e?.cloud_name||e?.cloudinaryConfig?.cloud_name,t=e?.publicId||e?.sourceOptions?.publicId;if(i&&t)return a(i,t,e?.cloudinaryConfig||{cloud_name:i});throw new Error("lazy requires a poster URL or cloudName and publicId")}},4728(e,i,t){t.d(i,{Bu:()=>d,K9:()=>l,Z2:()=>a,gJ:()=>o,qw:()=>c,vo:()=>n,wL:()=>r});const n={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},a="cloudinary-a.akamaihd.net",o="res.cloudinary.com",r={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",initial_duration:"idu",initialDuration:"idu",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},u="(([0-9]*)\\.([0-9]+)|([0-9]+))([%pP])?",c=RegExp(`^${u}$`),l=RegExp(`(${u})\\.\\.(${u})`),d={font_weight:"normal",font_style:"normal",text_decoration:"none",text_align:"",stroke:"none"}},4870(e,i,t){t.d(i,{D:()=>a});var n=t(4728);function a(e,i,t,a,o,r,u,c){let l;if(0===i.indexOf("/"))return"/res"+i;let d=!t;if(u)null!=c&&c!==n.Z2||(c=t?i+"-res.cloudinary.com":n.gJ),null==d&&(d=c===n.gJ),l="https://"+c;else if(r)l="http://"+r;else{l="http://"+[t?i+"-":"","res",".cloudinary.com"].join("")}return d&&(l+="/"+i),l}}}]);
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:44.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:23.138Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  /*
@@ -22,6 +22,7 @@
22
22
  root["cloudinary-video-player"] = factory();
23
23
  })(self, () => {
24
24
  return /******/ (() => { // webpackBootstrap
25
+ /******/ "use strict";
25
26
  /******/ var __webpack_modules__ = ({
26
27
 
27
28
  /***/ "./index.lazy.js"
@@ -30,19 +31,17 @@ return /******/ (() => { // webpackBootstrap
30
31
  \***********************/
31
32
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
32
33
 
33
- "use strict";
34
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ player: () => (/* binding */ player),\n/* harmony export */ players: () => (/* binding */ players)\n/* harmony export */ });\n/* harmony import */ var _utils_player_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/player-api */ \"./utils/player-api.js\");\n/**\n * Lazy entry: tiny initial bundle, player core loads on demand.\n * Only player()/players() are available. For sync videoPlayer(), use the full bundle.\n */\n\nconst player = (id, playerOptions, ready) => (0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.createAsyncPlayer)(id, playerOptions, ready, async (videoElement, opts, r) => {\n const {\n videoPlayer\n } = await Promise.all(/*! import() | cld-player-core */[__webpack_require__.e(\"styles\"), __webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_object_js-utils_querystring_js-utils_utf8Base64_js-vi-555007\"), __webpack_require__.e(\"video-player_js\"), __webpack_require__.e(\"cld-player-core\")]).then(__webpack_require__.bind(__webpack_require__, /*! ./index.js */ \"./index.js\"));\n return videoPlayer(videoElement, opts, r);\n});\nconst players = (selector, playerOptions, ready) => (0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.createMultiplePlayers)(selector, playerOptions, ready, player);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.setupCloudinaryGlobal)({\n player,\n players\n}));\n\n//# sourceURL=webpack:///./index.lazy.js?\n}");
34
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ player: () => (/* binding */ player),\n/* harmony export */ players: () => (/* binding */ players)\n/* harmony export */ });\n/* harmony import */ var _utils_player_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/player-api */ \"./utils/player-api.js\");\n/**\n * Lazy entry: tiny initial bundle, player core loads on demand.\n * Only player()/players() are available. For sync videoPlayer(), use the full bundle.\n */\n\nconst player = (id, playerOptions, ready) => (0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.createAsyncPlayer)(id, playerOptions, ready, async (videoElement, opts, r) => {\n const {\n videoPlayer\n } = await Promise.all(/*! import() | cld-player-core */[__webpack_require__.e(\"styles\"), __webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_cloudinary-config-from-options_js-utils_querystring_j-adfe37\"), __webpack_require__.e(\"video-player_js\"), __webpack_require__.e(\"cld-player-core\")]).then(__webpack_require__.bind(__webpack_require__, /*! ./index.js */ \"./index.js\"));\n return videoPlayer(videoElement, opts, r);\n});\nconst players = (selector, playerOptions, ready) => (0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.createMultiplePlayers)(selector, playerOptions, ready, player);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_player_api__WEBPACK_IMPORTED_MODULE_0__.setupCloudinaryGlobal)({\n player,\n players\n}));\n\n//# sourceURL=webpack:///./index.lazy.js?\n}");
35
35
 
36
36
  /***/ },
37
37
 
38
- /***/ "./utils/cloudinary-url-prefix.js"
39
- /*!****************************************!*\
40
- !*** ./utils/cloudinary-url-prefix.js ***!
41
- \****************************************/
38
+ /***/ "./utils/lazy-player.js"
39
+ /*!******************************!*\
40
+ !*** ./utils/lazy-player.js ***!
41
+ \******************************/
42
42
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
43
43
 
44
- "use strict";
45
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCloudinaryUrlPrefix: () => (/* binding */ getCloudinaryUrlPrefix)\n/* harmony export */ });\n/* harmony import */ var _cloudinary_url_gen_backwards_utils_unsigned_url_prefix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @cloudinary/url-gen/backwards/utils/unsigned_url_prefix */ \"../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js\");\n\nconst getCloudinaryUrlPrefix = cloudinaryConfig => {\n return (0,_cloudinary_url_gen_backwards_utils_unsigned_url_prefix__WEBPACK_IMPORTED_MODULE_0__.unsigned_url_prefix)(null, cloudinaryConfig.cloud_name, cloudinaryConfig.private_cdn, cloudinaryConfig.cdn_subdomain, cloudinaryConfig.secure_cdn_subdomain, cloudinaryConfig.cname, cloudinaryConfig.secure ?? true, cloudinaryConfig.secure_distribution);\n};\n\n//# sourceURL=webpack:///./utils/cloudinary-url-prefix.js?\n}");
44
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getVideoElement: () => (/* binding */ getVideoElement),\n/* harmony export */ lazyBootstrap: () => (/* binding */ lazyBootstrap),\n/* harmony export */ loadPlayer: () => (/* binding */ loadPlayer),\n/* harmony export */ preparePlayerPlaceholder: () => (/* binding */ preparePlayerPlaceholder),\n/* harmony export */ shouldLoadOnScroll: () => (/* binding */ shouldLoadOnScroll),\n/* harmony export */ shouldUseLazyBootstrap: () => (/* binding */ shouldUseLazyBootstrap)\n/* harmony export */ });\nconst FLUID_CLASS = 'cld-fluid';\n\n/** Same condition as `getPosterUrl` in `poster-url.js` (explicit string `poster`); skips the `cld-poster-url` async chunk. */\nconst hasExplicitPoster = options => typeof options?.poster === 'string' && options.poster.length > 0;\nconst getVideoElement = elem => {\n if (typeof elem === 'string') {\n let id = elem;\n if (id.indexOf('#') === 0) id = id.slice(1);\n try {\n elem = document.querySelector(`#${CSS.escape(id)}`);\n } catch {\n elem = null;\n }\n if (!elem) throw new Error(`Could not find element with id ${id}`);\n }\n if (!elem?.tagName) throw new Error('Must specify either an element or an element id.');\n if (elem.tagName !== 'VIDEO') throw new Error('Element is not a video tag.');\n return elem;\n};\nconst preparePlayerPlaceholder = function (videoElement, posterUrl) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const hadControls = videoElement.hasAttribute('controls');\n videoElement.poster = posterUrl;\n videoElement.preload = 'none';\n videoElement.controls = false;\n videoElement.removeAttribute('controls');\n const fluid = options.fluid !== false;\n if (fluid) {\n videoElement.classList.add(FLUID_CLASS);\n }\n if (options.width) videoElement.setAttribute('width', String(options.width));\n if (options.height) videoElement.setAttribute('height', String(options.height));\n const ar = options?.sourceOptions?.aspectRatio || options?.aspectRatio;\n if (typeof ar === 'string' && ar.includes(':')) {\n const parts = ar.split(':').map(x => parseInt(x.trim(), 10));\n if (parts.length === 2 && parts[0] > 0 && parts[1] > 0) {\n videoElement.style.aspectRatio = `${parts[0]} / ${parts[1]}`;\n }\n }\n return {\n videoElement,\n hadControls\n };\n};\nconst loadPlayer = _ref => {\n let {\n overlayRoot,\n videoElement,\n options,\n ready\n } = _ref;\n if (overlayRoot?.parentNode) {\n overlayRoot.replaceWith(videoElement);\n }\n return Promise.all(/*! import() */[__webpack_require__.e(\"styles\"), __webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_cloudinary-config-from-options_js-utils_querystring_j-adfe37\"), __webpack_require__.e(\"video-player_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! ../video-player.js */ \"./video-player.js\")).then(m => m.createVideoPlayer(videoElement, options, ready));\n};\nconst LAZY_PLAYER_CLASS = 'cld-lazy-player';\nconst isLightSkin = (videoElement, options) => {\n const cls = videoElement.className || '';\n return cls.indexOf('cld-video-player-skin-light') > -1 || options?.skin === 'light';\n};\n\n/** Matches Video.js BigPlayButton DOM structure. */\nconst createBigPlayButton = () => {\n const playBtn = document.createElement('button');\n playBtn.type = 'button';\n playBtn.className = 'vjs-big-play-button';\n playBtn.setAttribute('aria-disabled', 'false');\n playBtn.title = 'Play Video';\n playBtn.setAttribute('aria-label', 'Play Video');\n const icon = document.createElement('span');\n icon.className = 'vjs-icon-placeholder';\n icon.setAttribute('aria-hidden', 'true');\n playBtn.appendChild(icon);\n return playBtn;\n};\nconst shouldUseLazyBootstrap = options => !!options?.lazy;\nconst shouldLoadOnScroll = lazy => lazy && typeof lazy === 'object' && lazy.loadOnScroll === true;\n\n/**\n * Renders the lazy placeholder (poster, big-play) before the main player chunk loads.\n *\n * @param {string|HTMLVideoElement} elem\n * @param {object} options\n * @param {function} [ready] - Passed through when the full player loads.\n * @returns {Promise<{ source: function, loadPlayer: function }>}\n */\nconst lazyBootstrap = async (elem, options, ready) => {\n const videoElement = getVideoElement(elem);\n const posterUrl = hasExplicitPoster(options) ? options.poster : (await __webpack_require__.e(/*! import() | cld-poster-url */ \"cld-poster-url\").then(__webpack_require__.bind(__webpack_require__, /*! ./poster-url */ \"./utils/poster-url.js\"))).getPosterUrl(options);\n const loadOnScroll = shouldLoadOnScroll(options.lazy);\n const {\n hadControls\n } = preparePlayerPlaceholder(videoElement, posterUrl, {\n fluid: options?.fluid !== false,\n width: options?.width,\n height: options?.height,\n sourceOptions: options?.sourceOptions,\n aspectRatio: options?.aspectRatio\n });\n const light = isLightSkin(videoElement, options);\n const overlayRoot = document.createElement('div');\n overlayRoot.classList.add('cld-video-player', 'video-js', LAZY_PLAYER_CLASS);\n overlayRoot.classList.add(light ? 'cld-video-player-skin-light' : 'cld-video-player-skin-dark');\n const colors = options?.colors;\n if (colors) {\n if (colors.base) overlayRoot.style.setProperty('--color-base', colors.base);\n if (colors.accent) overlayRoot.style.setProperty('--color-accent', colors.accent);\n if (colors.text) overlayRoot.style.setProperty('--color-text', colors.text);\n }\n videoElement.parentNode.insertBefore(overlayRoot, videoElement);\n overlayRoot.appendChild(videoElement);\n const playBtn = createBigPlayButton();\n overlayRoot.appendChild(playBtn);\n let loadPromise = null;\n let observer = null;\n const teardownActivation = () => {\n playBtn.removeEventListener('click', onPlayClick);\n videoElement.removeEventListener('click', onVideoClick);\n if (observer) {\n observer.disconnect();\n observer = null;\n }\n };\n const activatePlayer = function () {\n let activationOpts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (loadPromise) {\n return loadPromise;\n }\n teardownActivation();\n const autoplayFromUserGesture = activationOpts.autoplayFromUserGesture === true;\n if (hadControls) videoElement.setAttribute('controls', '');\n const wrappedReady = autoplayFromUserGesture ? p => {\n p.play();\n if (ready) ready(p);\n } : ready;\n const playerOptions = Object.assign({}, options);\n delete playerOptions.lazy;\n loadPromise = loadPlayer({\n overlayRoot,\n videoElement,\n options: playerOptions,\n ready: wrappedReady\n });\n return loadPromise;\n };\n function onPlayClick(e) {\n e.stopPropagation();\n activatePlayer({\n autoplayFromUserGesture: true\n });\n }\n function onVideoClick() {\n activatePlayer({\n autoplayFromUserGesture: true\n });\n }\n playBtn.addEventListener('click', onPlayClick);\n videoElement.addEventListener('click', onVideoClick);\n if (loadOnScroll && typeof IntersectionObserver !== 'undefined') {\n observer = new IntersectionObserver(entries => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n activatePlayer({});\n }\n });\n }, {\n rootMargin: '0px',\n threshold: 0.25\n });\n observer.observe(videoElement);\n }\n const stub = {\n source: () => stub,\n loadPlayer: () => activatePlayer({\n autoplayFromUserGesture: true\n })\n };\n return stub;\n};\n\n//# sourceURL=webpack:///./utils/lazy-player.js?\n}");
46
45
 
47
46
  /***/ },
48
47
 
@@ -52,62 +51,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
52
51
  \*****************************/
53
52
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
54
53
 
55
- "use strict";
56
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createAsyncPlayer: () => (/* binding */ createAsyncPlayer),\n/* harmony export */ createMultiplePlayers: () => (/* binding */ createMultiplePlayers),\n/* harmony export */ createMultipleSync: () => (/* binding */ createMultipleSync),\n/* harmony export */ setupCloudinaryGlobal: () => (/* binding */ setupCloudinaryGlobal)\n/* harmony export */ });\n/* harmony import */ var _schedule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./schedule */ \"./utils/schedule.js\");\n\nconst createAsyncPlayer = async (id, playerOptions, ready, createFn) => {\n const mergedOptions = Object.assign({}, playerOptions);\n const videoElement = (0,_schedule__WEBPACK_IMPORTED_MODULE_0__.getElementForSchedule)(id);\n const opts = await (async () => {\n try {\n const {\n fetchAndMergeConfig\n } = await Promise.all(/*! import() */[__webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_object_js-utils_querystring_js-utils_utf8Base64_js-vi-555007\"), __webpack_require__.e(\"utils_fetch-config_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! ./fetch-config */ \"./utils/fetch-config.js\"));\n const fetched = await fetchAndMergeConfig(mergedOptions);\n return Object.assign({}, fetched, mergedOptions);\n } catch {\n return mergedOptions;\n }\n })();\n if ((0,_schedule__WEBPACK_IMPORTED_MODULE_0__.shouldUseScheduleBootstrap)(opts)) {\n return (0,_schedule__WEBPACK_IMPORTED_MODULE_0__.scheduleBootstrap)(id, opts);\n }\n return createFn(videoElement, opts, ready);\n};\nconst createMultiplePlayers = async (selector, playerOptions, ready, playerFn) => {\n const nodeList = document.querySelectorAll(selector);\n return Promise.all([...nodeList].map(node => playerFn(node, playerOptions, ready)));\n};\nconst createMultipleSync = (selector, playerOptions, ready, playerFn) => {\n const nodeList = document.querySelectorAll(selector);\n return [...nodeList].map(node => playerFn(node, playerOptions, ready));\n};\nconst setupCloudinaryGlobal = methods => {\n const cloudinary = {\n ...(window.cloudinary || {}),\n ...methods\n };\n window.cloudinary = cloudinary;\n return cloudinary;\n};\n\n//# sourceURL=webpack:///./utils/player-api.js?\n}");
57
-
58
- /***/ },
59
-
60
- /***/ "./utils/poster-url.js"
61
- /*!*****************************!*\
62
- !*** ./utils/poster-url.js ***!
63
- \*****************************/
64
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
65
-
66
- "use strict";
67
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ buildPosterUrl: () => (/* binding */ buildPosterUrl)\n/* harmony export */ });\n/* harmony import */ var _cloudinary_url_prefix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloudinary-url-prefix */ \"./utils/cloudinary-url-prefix.js\");\n/**\n * Minimal Cloudinary poster URL builder for video first frame.\n * Used by schedule bootstrap when outside schedule (no full player loaded).\n */\n\nconst POSTER_TRANSFORMATION = 'so_0,f_auto,q_auto';\n\n/**\n * Build Cloudinary video poster (first frame) URL.\n * @param {string} cloudName - Cloudinary cloud name\n * @param {string} publicId - Video public ID\n * @param {object} [cloudinaryConfig] - Optional: secure, private_cdn, cdn_subdomain, cname, secure_distribution\n * @returns {string} Poster image URL\n */\nconst buildPosterUrl = function (cloudName, publicId) {\n let cloudinaryConfig = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const config = {\n cloud_name: cloudName || cloudinaryConfig.cloud_name,\n ...cloudinaryConfig,\n secure: cloudinaryConfig.secure ?? true\n };\n const prefix = (0,_cloudinary_url_prefix__WEBPACK_IMPORTED_MODULE_0__.getCloudinaryUrlPrefix)(config);\n return `${prefix}/video/upload/${POSTER_TRANSFORMATION}/${publicId}`;\n};\n\n//# sourceURL=webpack:///./utils/poster-url.js?\n}");
68
-
69
- /***/ },
70
-
71
- /***/ "./utils/schedule.js"
72
- /*!***************************!*\
73
- !*** ./utils/schedule.js ***!
74
- \***************************/
75
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
76
-
77
- "use strict";
78
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getElementForSchedule: () => (/* binding */ getElementForSchedule),\n/* harmony export */ isWithinSchedule: () => (/* binding */ isWithinSchedule),\n/* harmony export */ parseDay: () => (/* binding */ parseDay),\n/* harmony export */ renderScheduleImage: () => (/* binding */ renderScheduleImage),\n/* harmony export */ scheduleBootstrap: () => (/* binding */ scheduleBootstrap),\n/* harmony export */ shouldUseScheduleBootstrap: () => (/* binding */ shouldUseScheduleBootstrap)\n/* harmony export */ });\n/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css.escape */ \"../node_modules/css.escape/css.escape.js\");\n/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(css_escape__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _poster_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./poster-url */ \"./utils/poster-url.js\");\n/**\n * Schedule utilities: weekly time-range parsing and bootstrap (poster rendering).\n * Uses browser local time. No videojs dependency for the bootstrap path.\n */\n\n\nconst INTERNAL_ANALYTICS_URL = 'https://analytics-api-s.cloudinary.com';\nconst sendScheduleImageAnalytics = options => {\n const allowReport = options?.sourceOptions?.allowUsageReport ?? options?.allowUsageReport;\n if (allowReport === false) return;\n try {\n const params = new URLSearchParams({\n scheduleImageRendered: 'true',\n cloudName: options?.cloudName || options?.cloudinaryConfig?.cloud_name || ''\n }).toString();\n fetch(`${INTERNAL_ANALYTICS_URL}/video_player_source?${params}`);\n } catch {\n // noop\n }\n};\nconst getCloudNameFromOptions = options => options?.cloudName || options?.cloud_name || options?.cloudinaryConfig?.cloud_name;\nconst getPublicIdFromOptions = options => options?.publicId || options?.sourceOptions?.publicId;\n\n/**\n * Returns true when schedule.weekly is configured and current time is outside the schedule.\n * @param {object} options - player options\n * @returns {boolean}\n */\nconst shouldUseScheduleBootstrap = options => {\n const schedule = options?.schedule;\n const weekly = schedule?.weekly;\n return Array.isArray(weekly) && weekly.length > 0 && !isWithinSchedule(schedule, new Date());\n};\n\n/**\n * Bootstrap path when outside schedule: render poster, return stub with loadPlayer().\n * @param {string|HTMLElement} elem - Element id or video element\n * @param {object} options - player options\n * @returns {object} Stub with source() and loadPlayer()\n */\nconst scheduleBootstrap = (elem, options) => {\n const videoElement = getElementForSchedule(elem);\n const cloudName = getCloudNameFromOptions(options);\n const publicId = getPublicIdFromOptions(options);\n if (!cloudName || !publicId) {\n throw new Error('schedule.weekly requires cloudName and publicId when outside schedule');\n }\n const cloudinaryConfig = options?.cloudinaryConfig || {\n cloud_name: cloudName\n };\n const posterUrl = (0,_poster_url__WEBPACK_IMPORTED_MODULE_1__.buildPosterUrl)(cloudName, publicId, cloudinaryConfig);\n const fluid = options?.fluid !== false;\n const {\n container,\n videoElement: vEl\n } = renderScheduleImage(videoElement, posterUrl, {\n fluid,\n width: options?.width,\n height: options?.height,\n cropMode: options?.sourceOptions?.cropMode\n });\n sendScheduleImageAnalytics(options);\n const stub = {\n source: () => stub,\n loadPlayer: () => {\n if (container && container.parentNode) {\n container.parentNode.removeChild(container);\n }\n vEl.style.display = '';\n return Promise.all(/*! import() */[__webpack_require__.e(\"styles\"), __webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_object_js-utils_querystring_js-utils_utf8Base64_js-vi-555007\"), __webpack_require__.e(\"video-player_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! ../video-player.js */ \"./video-player.js\")).then(m => m.createVideoPlayer(vEl, options));\n }\n };\n return stub;\n};\nconst DAY_MAP = {\n sunday: 0,\n sun: 0,\n monday: 1,\n mon: 1,\n tuesday: 2,\n tue: 2,\n tues: 2,\n wednesday: 3,\n wed: 3,\n thursday: 4,\n thu: 4,\n thur: 4,\n thurs: 4,\n friday: 5,\n fri: 5,\n saturday: 6,\n sat: 6\n};\nconst FLUID_CLASS = 'cld-fluid';\n\n/**\n * Parse readable day-of-week string to JS Date.getDay() value (0=Sun .. 6=Sat).\n * @param {string} day - Full or abbreviated day name (case-insensitive)\n * @returns {number|null} 0-6, or null if invalid\n */\nconst parseDay = day => {\n if (typeof day !== 'string') return null;\n const key = day.toLowerCase().trim();\n return DAY_MAP[key] ?? null;\n};\n\n/**\n * Parse \"HH:mm\" string to minutes since midnight.\n * @param {string} timeStr - \"09:00\" or \"17:30\"\n * @returns {number|null} minutes, or null if invalid\n */\nconst parseTime = timeStr => {\n if (typeof timeStr !== 'string') return null;\n const match = timeStr.trim().match(/^(\\d{1,2}):(\\d{2})$/);\n if (!match) return null;\n const h = parseInt(match[1], 10);\n const m = parseInt(match[2], 10);\n if (h < 0 || h > 23 || m < 0 || m > 59) return null;\n return h * 60 + m;\n};\n\n/**\n * Check if a date falls within any configured weekly slot (local time).\n * @param {{ weekly?: Array<{ day: string, start: string, duration: number }> }} schedule - schedule config\n * @param {Date} date - date to check (uses local time)\n * @returns {boolean} true if within a slot\n */\nconst isWithinSchedule = (schedule, date) => {\n const weekly = schedule?.weekly;\n if (!Array.isArray(weekly) || weekly.length === 0) return true;\n const WEEK = 7 * 1440;\n const nowInWeek = date.getDay() * 1440 + date.getHours() * 60 + date.getMinutes();\n for (const slot of weekly) {\n const slotDay = parseDay(slot.day);\n if (slotDay === null) continue;\n const startMin = parseTime(slot.start);\n if (startMin === null || typeof slot.duration !== 'number' || slot.duration <= 0) continue;\n const slotStart = slotDay * 1440 + startMin;\n const durationMin = slot.duration * 60;\n const elapsed = (nowInWeek - slotStart + WEEK) % WEEK;\n if (elapsed < durationMin) return true;\n }\n return false;\n};\n\n/**\n * Resolve video element by id or return element. No videojs.\n * @param {string|HTMLElement} elem - Element id (with or without #) or video element\n * @returns {HTMLVideoElement}\n */\nconst getElementForSchedule = elem => {\n if (typeof elem === 'string') {\n let id = elem;\n if (id.indexOf('#') === 0) id = id.slice(1);\n try {\n elem = document.querySelector(`#${css_escape__WEBPACK_IMPORTED_MODULE_0___default()(id)}`);\n } catch {\n elem = null;\n }\n if (!elem) throw new Error(`Could not find element with id ${id}`);\n }\n if (!elem?.tagName) throw new Error('Must specify either an element or an element id.');\n if (elem.tagName !== 'VIDEO') throw new Error('Element is not a video tag.');\n return elem;\n};\n\n/**\n * Hide video, show poster image overlay. Keeps video in DOM for load().\n * @param {HTMLVideoElement} videoElement\n * @param {string} posterUrl\n * @param {object} options - fluid, width, height, etc.\n * @returns {{ img: HTMLImageElement, container: HTMLElement, videoElement: HTMLVideoElement }}\n */\nconst renderScheduleImage = function (videoElement, posterUrl) {\n let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n const fluid = options.fluid !== false;\n const parent = videoElement.parentNode;\n const container = document.createElement('div');\n container.className = 'cld-schedule-poster-container';\n container.style.cssText = 'position:relative;width:100%;height:100%;';\n const img = document.createElement('img');\n img.src = posterUrl;\n img.alt = '';\n img.setAttribute('data-cld-schedule-poster', 'true');\n img.style.cssText = 'display:block;width:100%;height:100%;object-fit:contain;';\n if (fluid) {\n container.classList.add(FLUID_CLASS);\n img.style.objectFit = options.cropMode === 'fill' ? 'cover' : 'contain';\n }\n if (options.width) container.style.width = `${options.width}px`;\n if (options.height) container.style.height = `${options.height}px`;\n videoElement.style.display = 'none';\n container.appendChild(img);\n parent.insertBefore(container, videoElement);\n return {\n img,\n container,\n videoElement\n };\n};\n\n//# sourceURL=webpack:///./utils/schedule.js?\n}");
79
-
80
- /***/ },
81
-
82
- /***/ "../node_modules/css.escape/css.escape.js"
83
- /*!************************************************!*\
84
- !*** ../node_modules/css.escape/css.escape.js ***!
85
- \************************************************/
86
- (module, __unused_webpack_exports, __webpack_require__) {
87
-
88
- eval("{/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */\n;(function(root, factory) {\n\t// https://github.com/umdjs/umd/blob/master/returnExports.js\n\tif (true) {\n\t\t// For Node.js.\n\t\tmodule.exports = factory(root);\n\t} else // removed by dead control flow\n{}\n}(typeof __webpack_require__.g != 'undefined' ? __webpack_require__.g : this, function(root) {\n\n\tif (root.CSS && root.CSS.escape) {\n\t\treturn root.CSS.escape;\n\t}\n\n\t// https://drafts.csswg.org/cssom/#serialize-an-identifier\n\tvar cssEscape = function(value) {\n\t\tif (arguments.length == 0) {\n\t\t\tthrow new TypeError('`CSS.escape` requires an argument.');\n\t\t}\n\t\tvar string = String(value);\n\t\tvar length = string.length;\n\t\tvar index = -1;\n\t\tvar codeUnit;\n\t\tvar result = '';\n\t\tvar firstCodeUnit = string.charCodeAt(0);\n\t\twhile (++index < length) {\n\t\t\tcodeUnit = string.charCodeAt(index);\n\t\t\t// Note: there’s no need to special-case astral symbols, surrogate\n\t\t\t// pairs, or lone surrogates.\n\n\t\t\t// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER\n\t\t\t// (U+FFFD).\n\t\t\tif (codeUnit == 0x0000) {\n\t\t\t\tresult += '\\uFFFD';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t// If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is\n\t\t\t\t// U+007F, […]\n\t\t\t\t(codeUnit >= 0x0001 && codeUnit <= 0x001F) || codeUnit == 0x007F ||\n\t\t\t\t// If the character is the first character and is in the range [0-9]\n\t\t\t\t// (U+0030 to U+0039), […]\n\t\t\t\t(index == 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||\n\t\t\t\t// If the character is the second character and is in the range [0-9]\n\t\t\t\t// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\n\t\t\t\t(\n\t\t\t\t\tindex == 1 &&\n\t\t\t\t\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 &&\n\t\t\t\t\tfirstCodeUnit == 0x002D\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\t// https://drafts.csswg.org/cssom/#escape-a-character-as-code-point\n\t\t\t\tresult += '\\\\' + codeUnit.toString(16) + ' ';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t// If the character is the first character and is a `-` (U+002D), and\n\t\t\t\t// there is no second character, […]\n\t\t\t\tindex == 0 &&\n\t\t\t\tlength == 1 &&\n\t\t\t\tcodeUnit == 0x002D\n\t\t\t) {\n\t\t\t\tresult += '\\\\' + string.charAt(index);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If the character is not handled by one of the above rules and is\n\t\t\t// greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or\n\t\t\t// is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to\n\t\t\t// U+005A), or [a-z] (U+0061 to U+007A), […]\n\t\t\tif (\n\t\t\t\tcodeUnit >= 0x0080 ||\n\t\t\t\tcodeUnit == 0x002D ||\n\t\t\t\tcodeUnit == 0x005F ||\n\t\t\t\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 ||\n\t\t\t\tcodeUnit >= 0x0041 && codeUnit <= 0x005A ||\n\t\t\t\tcodeUnit >= 0x0061 && codeUnit <= 0x007A\n\t\t\t) {\n\t\t\t\t// the character itself\n\t\t\t\tresult += string.charAt(index);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Otherwise, the escaped character.\n\t\t\t// https://drafts.csswg.org/cssom/#escape-a-character\n\t\t\tresult += '\\\\' + string.charAt(index);\n\n\t\t}\n\t\treturn result;\n\t};\n\n\tif (!root.CSS) {\n\t\troot.CSS = {};\n\t}\n\n\troot.CSS.escape = cssEscape;\n\treturn cssEscape;\n\n}));\n\n\n//# sourceURL=webpack:///../node_modules/css.escape/css.escape.js?\n}");
89
-
90
- /***/ },
91
-
92
- /***/ "../node_modules/@cloudinary/url-gen/backwards/consts.js"
93
- /*!***************************************************************!*\
94
- !*** ../node_modules/@cloudinary/url-gen/backwards/consts.js ***!
95
- \***************************************************************/
96
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
97
-
98
- "use strict";
99
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AKAMAI_SHARED_CDN: () => (/* binding */ AKAMAI_SHARED_CDN),\n/* harmony export */ CF_SHARED_CDN: () => (/* binding */ CF_SHARED_CDN),\n/* harmony export */ LAYER_KEYWORD_PARAMS: () => (/* binding */ LAYER_KEYWORD_PARAMS),\n/* harmony export */ LEGACY_CONDITIONAL_OPERATORS: () => (/* binding */ LEGACY_CONDITIONAL_OPERATORS),\n/* harmony export */ LEGACY_PREDEFINED_VARS: () => (/* binding */ LEGACY_PREDEFINED_VARS),\n/* harmony export */ NUMBER_PATTERN: () => (/* binding */ NUMBER_PATTERN),\n/* harmony export */ OFFSET_ANY_PATTERN: () => (/* binding */ OFFSET_ANY_PATTERN),\n/* harmony export */ OFFSET_ANY_PATTERN_RE: () => (/* binding */ OFFSET_ANY_PATTERN_RE),\n/* harmony export */ OLD_AKAMAI_SHARED_CDN: () => (/* binding */ OLD_AKAMAI_SHARED_CDN),\n/* harmony export */ RANGE_VALUE_RE: () => (/* binding */ RANGE_VALUE_RE),\n/* harmony export */ SHARED_CDN: () => (/* binding */ SHARED_CDN)\n/* harmony export */ });\nconst LEGACY_CONDITIONAL_OPERATORS = {\n \"=\": 'eq',\n \"!=\": 'ne',\n \"<\": 'lt',\n \">\": 'gt',\n \"<=\": 'lte',\n \">=\": 'gte',\n \"&&\": 'and',\n \"||\": 'or',\n \"*\": \"mul\",\n \"/\": \"div\",\n \"+\": \"add\",\n \"-\": \"sub\",\n \"^\": \"pow\"\n};\nconst CF_SHARED_CDN = \"d3jpl91pxevbkh.cloudfront.net\";\nconst OLD_AKAMAI_SHARED_CDN = \"cloudinary-a.akamaihd.net\";\nconst AKAMAI_SHARED_CDN = \"res.cloudinary.com\";\nconst SHARED_CDN = AKAMAI_SHARED_CDN;\nconst LEGACY_PREDEFINED_VARS = {\n \"aspect_ratio\": \"ar\",\n \"aspectRatio\": \"ar\",\n \"current_page\": \"cp\",\n \"currentPage\": \"cp\",\n \"duration\": \"du\",\n \"face_count\": \"fc\",\n \"faceCount\": \"fc\",\n \"height\": \"h\",\n \"initial_aspect_ratio\": \"iar\",\n \"initial_height\": \"ih\",\n \"initial_width\": \"iw\",\n \"initialAspectRatio\": \"iar\",\n \"initialHeight\": \"ih\",\n \"initialWidth\": \"iw\",\n \"initial_duration\": \"idu\",\n \"initialDuration\": \"idu\",\n \"page_count\": \"pc\",\n \"page_x\": \"px\",\n \"page_y\": \"py\",\n \"pageCount\": \"pc\",\n \"pageX\": \"px\",\n \"pageY\": \"py\",\n \"tags\": \"tags\",\n \"width\": \"w\"\n};\nconst NUMBER_PATTERN = \"([0-9]*)\\\\.([0-9]+)|([0-9]+)\";\nconst OFFSET_ANY_PATTERN = `(${NUMBER_PATTERN})([%pP])?`;\nconst RANGE_VALUE_RE = RegExp(`^${OFFSET_ANY_PATTERN}$`);\nconst OFFSET_ANY_PATTERN_RE = RegExp(`(${OFFSET_ANY_PATTERN})\\\\.\\\\.(${OFFSET_ANY_PATTERN})`);\nconst LAYER_KEYWORD_PARAMS = {\n font_weight: \"normal\",\n font_style: \"normal\",\n text_decoration: \"none\",\n text_align: '',\n stroke: \"none\"\n};\n\n\n//# sourceURL=webpack:///../node_modules/@cloudinary/url-gen/backwards/consts.js?\n}");
100
-
101
- /***/ },
102
-
103
- /***/ "../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js"
104
- /*!**********************************************************************************!*\
105
- !*** ../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js ***!
106
- \**********************************************************************************/
107
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
108
-
109
- "use strict";
110
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unsigned_url_prefix: () => (/* binding */ unsigned_url_prefix)\n/* harmony export */ });\n/* harmony import */ var _consts_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../consts.js */ \"../node_modules/@cloudinary/url-gen/backwards/consts.js\");\n\nfunction unsigned_url_prefix(source, cloud_name, private_cdn, cdn_subdomain, secure_cdn_subdomain, cname, secure, secure_distribution) {\n let prefix;\n if (cloud_name.indexOf(\"/\") === 0) {\n return '/res' + cloud_name;\n }\n let shared_domain = !private_cdn;\n if (secure) {\n if ((secure_distribution == null) || secure_distribution === _consts_js__WEBPACK_IMPORTED_MODULE_0__.OLD_AKAMAI_SHARED_CDN) {\n secure_distribution = private_cdn ? cloud_name + \"-res.cloudinary.com\" : _consts_js__WEBPACK_IMPORTED_MODULE_0__.SHARED_CDN;\n }\n if (shared_domain == null) {\n shared_domain = secure_distribution === _consts_js__WEBPACK_IMPORTED_MODULE_0__.SHARED_CDN;\n }\n prefix = 'https://' + secure_distribution;\n }\n else if (cname) {\n // let subdomain = cdn_subdomain ? 'a' + ((crc32(source) % 5) + 1) + '.' : '';\n prefix = 'http://' + cname;\n }\n else {\n let cdn_part = private_cdn ? cloud_name + '-' : '';\n let host = [cdn_part, 'res', '.cloudinary.com'].join('');\n prefix = 'http://' + host;\n }\n if (shared_domain) {\n prefix += '/' + cloud_name;\n }\n return prefix;\n}\n\n\n//# sourceURL=webpack:///../node_modules/@cloudinary/url-gen/backwards/utils/unsigned_url_prefix.js?\n}");
54
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createAsyncPlayer: () => (/* binding */ createAsyncPlayer),\n/* harmony export */ createMultiplePlayers: () => (/* binding */ createMultiplePlayers),\n/* harmony export */ createMultipleSync: () => (/* binding */ createMultipleSync),\n/* harmony export */ setupCloudinaryGlobal: () => (/* binding */ setupCloudinaryGlobal)\n/* harmony export */ });\n/* harmony import */ var _lazy_player__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lazy-player */ \"./utils/lazy-player.js\");\n\n\nconst createAsyncPlayer = async (id, playerOptions, ready, createFn) => {\n const mergedOptions = Object.assign({}, playerOptions);\n const videoElement = (0,_lazy_player__WEBPACK_IMPORTED_MODULE_0__.getVideoElement)(id);\n const opts = await (async () => {\n try {\n const {\n fetchAndMergeConfig\n } = await Promise.all(/*! import() */[__webpack_require__.e(\"plugins_cloudinary_url-helpers_js-utils_cloudinary-config-from-options_js-utils_querystring_j-adfe37\"), __webpack_require__.e(\"utils_fetch-config_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! ./fetch-config */ \"./utils/fetch-config.js\"));\n const fetched = await fetchAndMergeConfig(mergedOptions);\n return Object.assign({}, fetched, mergedOptions);\n } catch {\n return mergedOptions;\n }\n })();\n if (opts?.schedule?.weekly) {\n const {\n shouldUseScheduleBootstrap,\n scheduleBootstrap\n } = await __webpack_require__.e(/*! import() */ \"utils_schedule_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./schedule */ \"./utils/schedule.js\"));\n if (shouldUseScheduleBootstrap(opts)) {\n return scheduleBootstrap(id, opts, ready);\n }\n }\n if ((0,_lazy_player__WEBPACK_IMPORTED_MODULE_0__.shouldUseLazyBootstrap)(opts)) {\n return (0,_lazy_player__WEBPACK_IMPORTED_MODULE_0__.lazyBootstrap)(id, opts, ready);\n }\n return createFn(videoElement, opts, ready);\n};\nconst createMultiplePlayers = async (selector, playerOptions, ready, playerFn) => {\n const nodeList = document.querySelectorAll(selector);\n return Promise.all([...nodeList].map(node => playerFn(node, playerOptions, ready)));\n};\nconst createMultipleSync = (selector, playerOptions, ready, playerFn) => {\n const nodeList = document.querySelectorAll(selector);\n return [...nodeList].map(node => playerFn(node, playerOptions, ready));\n};\nconst setupCloudinaryGlobal = methods => {\n const cloudinary = {\n ...(window.cloudinary || {}),\n ...methods\n };\n window.cloudinary = cloudinary;\n return cloudinary;\n};\n\n//# sourceURL=webpack:///./utils/player-api.js?\n}");
111
55
 
112
56
  /***/ }
113
57
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:27.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:06.877Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["cloudinary-video-player"]=t():e["cloudinary-video-player"]=t()}(self,()=>(()=>{var e,t={1741(e,t,r){"use strict";r.d(t,{k:()=>o});var n=r(4870);const o=e=>(0,n.D)(null,e.cloud_name,e.private_cdn,e.cdn_subdomain,e.secure_cdn_subdomain,e.cname,e.secure??!0,e.secure_distribution)},2984(e,t,r){"use strict";r.d(t,{Hn:()=>i,ci:()=>a,hg:()=>l,wQ:()=>o});var n=r(5689);const o=async(e,t,o,i)=>{const a=Object.assign({},t),l=(0,n.lu)(e),s=await(async()=>{try{const{fetchAndMergeConfig:e}=await Promise.all([r.e(19),r.e(309)]).then(r.bind(r,4309)),t=await e(a);return Object.assign({},t,a)}catch{return a}})();return(0,n.Ov)(s)?(0,n.a1)(e,s):i(l,s,o)},i=async(e,t,r,n)=>{const o=document.querySelectorAll(e);return Promise.all([...o].map(e=>n(e,t,r)))},a=(e,t,r,n)=>[...document.querySelectorAll(e)].map(e=>n(e,t,r)),l=e=>{const t={...window.cloudinary||{},...e};return window.cloudinary=t,t}},4705(e,t,r){"use strict";r.d(t,{T:()=>o});var n=r(1741);const o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={cloud_name:e||r.cloud_name,...r,secure:r.secure??!0};return`${(0,n.k)(o)}/video/upload/so_0,f_auto,q_auto/${t}`}},5689(e,t,r){"use strict";r.d(t,{Ov:()=>a,a1:()=>l,lu:()=>p});var n=r(3337),o=r.n(n),i=r(4705);const a=e=>{const t=e?.schedule,r=t?.weekly;return Array.isArray(r)&&r.length>0&&!u(t,new Date)},l=(e,t)=>{const n=p(e),o=(e=>e?.cloudName||e?.cloud_name||e?.cloudinaryConfig?.cloud_name)(t),a=(e=>e?.publicId||e?.sourceOptions?.publicId)(t);if(!o||!a)throw new Error("schedule.weekly requires cloudName and publicId when outside schedule");const l=t?.cloudinaryConfig||{cloud_name:o},s=(0,i.T)(o,a,l),c=!1!==t?.fluid,{container:d,videoElement:u}=h(n,s,{fluid:c,width:t?.width,height:t?.height,cropMode:t?.sourceOptions?.cropMode});(e=>{if(!1!==(e?.sourceOptions?.allowUsageReport??e?.allowUsageReport))try{const t=new URLSearchParams({scheduleImageRendered:"true",cloudName:e?.cloudName||e?.cloudinaryConfig?.cloud_name||""}).toString();fetch(`https://analytics-api-s.cloudinary.com/video_player_source?${t}`)}catch{}})(t);const f={source:()=>f,loadPlayer:()=>(d&&d.parentNode&&d.parentNode.removeChild(d),u.style.display="",Promise.all([r.e(869),r.e(19),r.e(134)]).then(r.bind(r,1134)).then(e=>e.createVideoPlayer(u,t)))};return f},s={sunday:0,sun:0,monday:1,mon:1,tuesday:2,tue:2,tues:2,wednesday:3,wed:3,thursday:4,thu:4,thur:4,thurs:4,friday:5,fri:5,saturday:6,sat:6},c=e=>{if("string"!=typeof e)return null;const t=e.toLowerCase().trim();return s[t]??null},d=e=>{if("string"!=typeof e)return null;const t=e.trim().match(/^(\d{1,2}):(\d{2})$/);if(!t)return null;const r=parseInt(t[1],10),n=parseInt(t[2],10);return r<0||r>23||n<0||n>59?null:60*r+n},u=(e,t)=>{const r=e?.weekly;if(!Array.isArray(r)||0===r.length)return!0;const n=1440*t.getDay()+60*t.getHours()+t.getMinutes();for(const e of r){const t=c(e.day);if(null===t)continue;const r=d(e.start);if(null===r||"number"!=typeof e.duration||e.duration<=0)continue;if((n-(1440*t+r)+10080)%10080<60*e.duration)return!0}return!1},p=e=>{if("string"==typeof e){let t=e;0===t.indexOf("#")&&(t=t.slice(1));try{e=document.querySelector(`#${o()(t)}`)}catch{e=null}if(!e)throw new Error(`Could not find element with id ${t}`)}if(!e?.tagName)throw new Error("Must specify either an element or an element id.");if("VIDEO"!==e.tagName)throw new Error("Element is not a video tag.");return e},h=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=!1!==r.fluid,o=e.parentNode,i=document.createElement("div");i.className="cld-schedule-poster-container",i.style.cssText="position:relative;width:100%;height:100%;";const a=document.createElement("img");return a.src=t,a.alt="",a.setAttribute("data-cld-schedule-poster","true"),a.style.cssText="display:block;width:100%;height:100%;object-fit:contain;",n&&(i.classList.add("cld-fluid"),a.style.objectFit="fill"===r.cropMode?"cover":"contain"),r.width&&(i.style.width=`${r.width}px`),r.height&&(i.style.height=`${r.height}px`),e.style.display="none",i.appendChild(a),o.insertBefore(i,e),{img:a,container:i,videoElement:e}}},3337(e,t,r){var n;n=void 0!==r.g?r.g:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,r=String(e),n=r.length,o=-1,i="",a=r.charCodeAt(0);++o<n;)0!=(t=r.charCodeAt(o))?i+=t>=1&&t<=31||127==t||0==o&&t>=48&&t<=57||1==o&&t>=48&&t<=57&&45==a?"\\"+t.toString(16)+" ":0==o&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(o):r.charAt(o):i+="�";return i};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)},4728(e,t,r){"use strict";r.d(t,{Bu:()=>d,K9:()=>c,Z2:()=>o,gJ:()=>i,qw:()=>s,vo:()=>n,wL:()=>a});const n={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},o="cloudinary-a.akamaihd.net",i="res.cloudinary.com",a={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",initial_duration:"idu",initialDuration:"idu",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},l="(([0-9]*)\\.([0-9]+)|([0-9]+))([%pP])?",s=RegExp(`^${l}$`),c=RegExp(`(${l})\\.\\.(${l})`),d={font_weight:"normal",font_style:"normal",text_decoration:"none",text_align:"",stroke:"none"}},4870(e,t,r){"use strict";r.d(t,{D:()=>o});var n=r(4728);function o(e,t,r,o,i,a,l,s){let c;if(0===t.indexOf("/"))return"/res"+t;let d=!r;if(l)null!=s&&s!==n.Z2||(s=r?t+"-res.cloudinary.com":n.gJ),null==d&&(d=s===n.gJ),c="https://"+s;else if(a)c="http://"+a;else{c="http://"+[r?t+"-":"","res",".cloudinary.com"].join("")}return d&&(c+="/"+t),c}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>(({26:"adaptive-streaming",33:"playlist",40:"debug",76:"cld-player-core",330:"ima",367:"dash",404:"interaction-areas",410:"recommendations-overlay",525:"shoppable",625:"chapters",691:"colors",728:"visual-search",976:"share"}[e]||e)+".min.js"),n.miniCssF=e=>"cld-video-player.min.css",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},n.l=(t,r,o,i)=>{if(e[t])e[t].push(r);else{var a,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var d=s[c];if(d.getAttribute("src")==t){a=d;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.src=t),e[t]=[r];var u=(r,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise((t,r)=>{var o=n.miniCssF(e),i=n.p+o;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(o,i))return t();((e,t,r,o,i)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=r=>{if(a.onerror=a.onload=null,"load"===r.type)o();else{var n=r&&r.type,l=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+n+": "+l+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=n,s.request=l,a.parentNode&&a.parentNode.removeChild(a),i(s)}},a.href=t,r?r.parentNode.insertBefore(a,r.nextSibling):document.head.appendChild(a)})(e,i,null,t,r)}),t={669:0};n.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{869:1}[r]&&n.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={669:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(869!=t){var i=new Promise((r,n)=>o=e[t]=[r,n]);r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}},"chunk-"+t,t)}else e[t]=0};var t=(t,r)=>{var o,i,[a,l,s]=r,c=0;if(a.some(t=>0!==e[t])){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var o={};return(()=>{"use strict";n.r(o),n.d(o,{default:()=>i,player:()=>t,players:()=>r});var e=n(2984);const t=(t,r,o)=>(0,e.wQ)(t,r,o,async(e,t,r)=>{const{videoPlayer:o}=await Promise.all([n.e(869),n.e(19),n.e(134),n.e(76)]).then(n.bind(n,9167));return o(e,t,r)}),r=(r,n,o)=>(0,e.Hn)(r,n,o,t),i=(0,e.hg)({player:t,players:r})})(),o})());
6
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["cloudinary-video-player"]=t():e["cloudinary-video-player"]=t()}(self,()=>(()=>{"use strict";var e,t={9606(e,t,r){r.d(t,{Lg:()=>l,VB:()=>i,Yx:()=>a,cm:()=>n,yn:()=>o});const o=e=>{if("string"==typeof e){let t=e;0===t.indexOf("#")&&(t=t.slice(1));try{e=document.querySelector(`#${CSS.escape(t)}`)}catch{e=null}if(!e)throw new Error(`Could not find element with id ${t}`)}if(!e?.tagName)throw new Error("Must specify either an element or an element id.");if("VIDEO"!==e.tagName)throw new Error("Element is not a video tag.");return e},n=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=e.hasAttribute("controls");e.poster=t,e.preload="none",e.controls=!1,e.removeAttribute("controls");!1!==r.fluid&&e.classList.add("cld-fluid"),r.width&&e.setAttribute("width",String(r.width)),r.height&&e.setAttribute("height",String(r.height));const n=r?.sourceOptions?.aspectRatio||r?.aspectRatio;if("string"==typeof n&&n.includes(":")){const t=n.split(":").map(e=>parseInt(e.trim(),10));2===t.length&&t[0]>0&&t[1]>0&&(e.style.aspectRatio=`${t[0]} / ${t[1]}`)}return{videoElement:e,hadControls:o}},a=e=>{let{overlayRoot:t,videoElement:o,options:n,ready:a}=e;return t?.parentNode&&t.replaceWith(o),Promise.all([r.e(869),r.e(350),r.e(134)]).then(r.bind(r,1134)).then(e=>e.createVideoPlayer(o,n,a))},i=e=>!!e?.lazy,l=async(e,t,i)=>{const l=o(e),s=(e=>"string"==typeof e?.poster&&e.poster.length>0)(t)?t.poster:(await r.e(172).then(r.bind(r,4705))).getPosterUrl(t),c=(d=t.lazy)&&"object"==typeof d&&!0===d.loadOnScroll;var d;const{hadControls:u}=n(l,s,{fluid:!1!==t?.fluid,width:t?.width,height:t?.height,sourceOptions:t?.sourceOptions,aspectRatio:t?.aspectRatio}),p=((e,t)=>(e.className||"").indexOf("cld-video-player-skin-light")>-1||"light"===t?.skin)(l,t),h=document.createElement("div");h.classList.add("cld-video-player","video-js","cld-lazy-player"),h.classList.add(p?"cld-video-player-skin-light":"cld-video-player-skin-dark");const y=t?.colors;y&&(y.base&&h.style.setProperty("--color-base",y.base),y.accent&&h.style.setProperty("--color-accent",y.accent),y.text&&h.style.setProperty("--color-text",y.text)),l.parentNode.insertBefore(h,l),h.appendChild(l);const f=(()=>{const e=document.createElement("button");e.type="button",e.className="vjs-big-play-button",e.setAttribute("aria-disabled","false"),e.title="Play Video",e.setAttribute("aria-label","Play Video");const t=document.createElement("span");return t.className="vjs-icon-placeholder",t.setAttribute("aria-hidden","true"),e.appendChild(t),e})();h.appendChild(f);let m=null,g=null;const v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(m)return m;f.removeEventListener("click",b),l.removeEventListener("click",w),g&&(g.disconnect(),g=null);const r=!0===e.autoplayFromUserGesture;u&&l.setAttribute("controls","");const o=r?e=>{e.play(),i&&i(e)}:i,n=Object.assign({},t);return delete n.lazy,m=a({overlayRoot:h,videoElement:l,options:n,ready:o}),m};function b(e){e.stopPropagation(),v({autoplayFromUserGesture:!0})}function w(){v({autoplayFromUserGesture:!0})}f.addEventListener("click",b),l.addEventListener("click",w),c&&"undefined"!=typeof IntersectionObserver&&(g=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&v({})})},{rootMargin:"0px",threshold:.25}),g.observe(l));const E={source:()=>E,loadPlayer:()=>v({autoplayFromUserGesture:!0})};return E}},2984(e,t,r){r.d(t,{Hn:()=>a,ci:()=>i,hg:()=>l,wQ:()=>n});var o=r(9606);const n=async(e,t,n,a)=>{const i=Object.assign({},t),l=(0,o.yn)(e),s=await(async()=>{try{const{fetchAndMergeConfig:e}=await Promise.all([r.e(350),r.e(309)]).then(r.bind(r,4309)),t=await e(i);return Object.assign({},t,i)}catch{return i}})();if(s?.schedule?.weekly){const{shouldUseScheduleBootstrap:t,scheduleBootstrap:o}=await r.e(689).then(r.bind(r,5689));if(t(s))return o(e,s,n)}return(0,o.VB)(s)?(0,o.Lg)(e,s,n):a(l,s,n)},a=async(e,t,r,o)=>{const n=document.querySelectorAll(e);return Promise.all([...n].map(e=>o(e,t,r)))},i=(e,t,r,o)=>[...document.querySelectorAll(e)].map(e=>o(e,t,r)),l=e=>{const t={...window.cloudinary||{},...e};return window.cloudinary=t,t}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=t,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>(({26:"adaptive-streaming",33:"playlist",40:"debug",76:"cld-player-core",172:"cld-poster-url",330:"ima",367:"dash",404:"interaction-areas",410:"recommendations-overlay",525:"shoppable",625:"chapters",691:"colors",728:"visual-search",976:"share"}[e]||e)+".min.js"),o.miniCssF=e=>"cld-video-player.min.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},o.l=(t,r,n,a)=>{if(e[t])e[t].push(r);else{var i,l;if(void 0!==n)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var d=s[c];if(d.getAttribute("src")==t){i=d;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",o.nc&&i.setAttribute("nonce",o.nc),i.src=t),e[t]=[r];var u=(r,o)=>{i.onerror=i.onload=null,clearTimeout(p);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),r)return r(o)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),l&&document.head.appendChild(i)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise((t,r)=>{var n=o.miniCssF(e),a=o.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var n=(i=r[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(n===e||n===t))return i}var a=document.getElementsByTagName("style");for(o=0;o<a.length;o++){var i;if((n=(i=a[o]).getAttribute("data-href"))===e||n===t)return i}})(n,a))return t();((e,t,r,n,a)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",o.nc&&(i.nonce=o.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var o=r&&r.type,l=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+l+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=l,i.parentNode&&i.parentNode.removeChild(i),a(s)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,a,null,t,r)}),t={669:0};o.f.miniCss=(r,o)=>{t[r]?o.push(t[r]):0!==t[r]&&{869:1}[r]&&o.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={669:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(869!=t){var a=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=a);var i=o.p+o.u(t),l=new Error;o.l(i,r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,n[1](l)}},"chunk-"+t,t)}else e[t]=0};var t=(t,r)=>{var n,a,[i,l,s]=r,c=0;if(i.some(t=>0!==e[t])){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);if(s)s(o)}for(t&&t(r);c<i.length;c++)a=i[c],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n={};o.r(n),o.d(n,{default:()=>s,player:()=>i,players:()=>l});var a=o(2984);const i=(e,t,r)=>(0,a.wQ)(e,t,r,async(e,t,r)=>{const{videoPlayer:n}=await Promise.all([o.e(869),o.e(350),o.e(134),o.e(76)]).then(o.bind(o,9167));return n(e,t,r)}),l=(e,t,r)=>(0,a.Hn)(e,t,r,i),s=(0,a.hg)({player:i,players:l});return n})());
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.13.1
3
- * Built on 2026-04-02T13:46:44.754Z
2
+ * Cloudinary Video Player v3.13.2-edge.1
3
+ * Built on 2026-04-07T06:16:23.138Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
6
  /*!*************************************************************************************************!*\
@@ -604,6 +604,10 @@
604
604
  opacity: 1;
605
605
  text-shadow: none;
606
606
  }
607
+ .cld-video-player.cld-lazy-player {
608
+ width: auto;
609
+ height: auto;
610
+ }
607
611
  .cld-video-player.cld-fluid {
608
612
  width: 100%;
609
613
  max-width: 100%;