UNPKG

cloudinary-video-player

Version:

Cloudinary Video Player

80 lines (61 loc) 24.5 kB
/*! * Cloudinary Video Player v3.2.1 * Built on 2025-08-12T18:54:00.175Z * https://github.com/cloudinary/cloudinary-video-player */ /* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["debug"],{ /***/ "./plugins/adaptive-streaming/abr-strategies.js": /*!******************************************************!*\ !*** ./plugins/adaptive-streaming/abr-strategies.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ADAPTIVE_STREAMING_STRATEGY: () => (/* binding */ ADAPTIVE_STREAMING_STRATEGY),\n/* harmony export */ abrStrategies: () => (/* binding */ abrStrategies),\n/* harmony export */ hdrSupported: () => (/* binding */ hdrSupported)\n/* harmony export */ });\nconst abrStrategies = {\n fastStart: {\n capLevelToPlayerSize: true,\n ignoreDevicePixelRatio: true,\n maxDevicePixelRatio: 2,\n abrEwmaDefaultEstimate: 4194304,\n abrEwmaDefaultEstimateMax: 4194304,\n enableWorker: false,\n startLevel: 0\n },\n balanced: {\n capLevelToPlayerSize: true,\n ignoreDevicePixelRatio: true,\n maxDevicePixelRatio: 2,\n abrEwmaDefaultEstimate: 4194304,\n abrEwmaDefaultEstimateMax: 4194304,\n enableWorker: false\n },\n highQuality: {\n capLevelToPlayerSize: true,\n ignoreDevicePixelRatio: false,\n maxDevicePixelRatio: 2,\n abrEwmaDefaultEstimate: 4194304,\n abrEwmaDefaultEstimateMax: 4194304,\n enableWorker: false\n }\n};\nconst ADAPTIVE_STREAMING_STRATEGY = Object.keys(abrStrategies);\nconst hdrSupported = window.matchMedia && window.matchMedia('(dynamic-range: high)').matches;\n\n//# sourceURL=webpack://cloudinary-video-player/./plugins/adaptive-streaming/abr-strategies.js?"); /***/ }), /***/ "./plugins/interaction-areas/interaction-areas.const.js": /*!**************************************************************!*\ !*** ./plugins/interaction-areas/interaction-areas.const.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CLOSE_INTERACTION_AREA_LAYOUT_DELAY: () => (/* binding */ CLOSE_INTERACTION_AREA_LAYOUT_DELAY),\n/* harmony export */ DEFAULT_INTERACTION_ARE_TRANSITION: () => (/* binding */ DEFAULT_INTERACTION_ARE_TRANSITION),\n/* harmony export */ INTERACTION_AREAS_CONTAINER_CLASS_NAME: () => (/* binding */ INTERACTION_AREAS_CONTAINER_CLASS_NAME),\n/* harmony export */ INTERACTION_AREAS_PREFIX: () => (/* binding */ INTERACTION_AREAS_PREFIX),\n/* harmony export */ INTERACTION_AREAS_TEMPLATE: () => (/* binding */ INTERACTION_AREAS_TEMPLATE),\n/* harmony export */ INTERACTION_AREAS_THEME: () => (/* binding */ INTERACTION_AREAS_THEME),\n/* harmony export */ INTERACTION_AREA_HAND_ICON: () => (/* binding */ INTERACTION_AREA_HAND_ICON),\n/* harmony export */ INTERACTION_AREA_LAYOUT_LOCAL_STORAGE_NAME: () => (/* binding */ INTERACTION_AREA_LAYOUT_LOCAL_STORAGE_NAME),\n/* harmony export */ TEMPLATE_INTERACTION_AREAS_VTT: () => (/* binding */ TEMPLATE_INTERACTION_AREAS_VTT)\n/* harmony export */ });\nconst INTERACTION_AREA_LAYOUT_LOCAL_STORAGE_NAME = 'cld-ia-layout-state';\nconst INTERACTION_AREAS_PREFIX = 'vp-ia';\nconst INTERACTION_AREAS_CONTAINER_CLASS_NAME = 'interaction-areas-container';\nconst INTERACTION_AREAS_TEMPLATE = {\n PORTRAIT: 'portrait',\n LANDSCAPE: 'landscape',\n All: 'all',\n CENTER: 'center'\n};\nconst INTERACTION_AREAS_THEME = {\n PULSING: 'pulsing',\n SHADOWED: 'shadowed'\n};\nconst TEMPLATE_INTERACTION_AREAS_VTT = {\n [INTERACTION_AREAS_TEMPLATE.PORTRAIT]: 'https://res.cloudinary.com/prod/raw/upload/v1623772481/video-player/vtts/portrait.vtt',\n [INTERACTION_AREAS_TEMPLATE.LANDSCAPE]: 'https://res.cloudinary.com/prod/raw/upload/v1623772303/video-player/vtts/landscape.vtt',\n [INTERACTION_AREAS_TEMPLATE.All]: 'https://res.cloudinary.com/prod/raw/upload/v1623250266/video-player/vtts/all.vtt',\n [INTERACTION_AREAS_TEMPLATE.CENTER]: 'https://res.cloudinary.com/prod/raw/upload/v1623250265/video-player/vtts/center.vtt'\n};\nconst INTERACTION_AREA_HAND_ICON = 'https://res.cloudinary.com/prod/image/upload/v1626764643/video-player/interaction-area-hand.svg';\nconst CLOSE_INTERACTION_AREA_LAYOUT_DELAY = 4500;\nconst DEFAULT_INTERACTION_ARE_TRANSITION = 250;\n\n//# sourceURL=webpack://cloudinary-video-player/./plugins/interaction-areas/interaction-areas.const.js?"); /***/ }), /***/ "./validators/validators-types.js": /*!****************************************!*\ !*** ./validators/validators-types.js ***! \****************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ validator: () => (/* binding */ validator)\n/* harmony export */ });\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isBoolean */ \"../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isFunction */ \"../node_modules/lodash/isFunction.js\");\n/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isNumber */ \"../node_modules/lodash/isNumber.js\");\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isNumber__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isObject */ \"../node_modules/lodash/isObject.js\");\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/isString */ \"../node_modules/lodash/isString.js\");\n/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _validators_functions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./validators-functions */ \"./validators/validators-functions.js\");\n\n\n\n\n\n\nconst getOptionsString = options => lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default()(options) ? `:(${Object.values(options).join('/')})` : '';\nconst arrayOfStringsValidator = () => ({\n value: arr => Array.isArray(arr) && arr.every((lodash_isString__WEBPACK_IMPORTED_MODULE_4___default())),\n message: key => `'${key}' should be an array of strings`\n});\nconst arrayOfNumbersValidator = () => ({\n value: arr => Array.isArray(arr) && arr.every((lodash_isNumber__WEBPACK_IMPORTED_MODULE_2___default())),\n message: key => `'${key}' should be an array of numbers`\n});\nconst arrayOfObjectsValidator = options => ({\n value: arr => {\n return arr.every(item => {\n for (let key in item) {\n if (Object.prototype.hasOwnProperty.call(item, key)) {\n const value = item[key];\n const validator = options[key];\n const isValid = validator && (0,_validators_functions__WEBPACK_IMPORTED_MODULE_5__.isValueValid)(validator(value), value, key);\n if (!isValid) {\n return false;\n }\n }\n }\n return true;\n });\n },\n message: () => 'invalid array'\n});\nconst orValidator = function () {\n for (var _len = arguments.length, validators = new Array(_len), _key = 0; _key < _len; _key++) {\n validators[_key] = arguments[_key];\n }\n return () => ({\n value: value => validators.some(validator => (0,_validators_functions__WEBPACK_IMPORTED_MODULE_5__.getValidatorItem)(validator).value(value)),\n message: configPropertyName => validators.map(validator => (0,_validators_functions__WEBPACK_IMPORTED_MODULE_5__.getValidatorItem)(validator).message(configPropertyName)).join(' or ')\n });\n};\nconst validator = {\n isString: options => ({\n value: (lodash_isString__WEBPACK_IMPORTED_MODULE_4___default()),\n message: key => `'${key}' should be a string${getOptionsString(options)}`\n }),\n isNumber: options => ({\n value: (lodash_isNumber__WEBPACK_IMPORTED_MODULE_2___default()),\n message: key => `'${key}' should be a number${getOptionsString(options)}`\n }),\n isBoolean: () => ({\n value: (lodash_isBoolean__WEBPACK_IMPORTED_MODULE_0___default()),\n message: key => `'${key}' should be a boolean`\n }),\n isFunction: () => ({\n value: (lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()),\n message: key => `'${key}' should be a function`\n }),\n isPlainObject: () => ({\n value: (lodash_isObject__WEBPACK_IMPORTED_MODULE_3___default()),\n message: key => `'${key}' should be an object`\n }),\n isObject: () => ({\n value: value => value && typeof value === 'object',\n message: key => `'${key}' should be an object`\n }),\n isArray: () => ({\n value: Array.isArray,\n message: key => `'${key}' should be an array`\n }),\n isArrayOfNumbers: arrayOfNumbersValidator,\n isArrayOfStrings: arrayOfStringsValidator,\n isArrayOfObjects: arrayOfObjectsValidator,\n or: orValidator\n};\n\n//# sourceURL=webpack://cloudinary-video-player/./validators/validators-types.js?"); /***/ }), /***/ "./validators/validators.js": /*!**********************************!*\ !*** ./validators/validators.js ***! \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ playerValidators: () => (/* binding */ playerValidators),\n/* harmony export */ sourceValidators: () => (/* binding */ sourceValidators)\n/* harmony export */ });\n/* harmony import */ var _video_player_const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../video-player.const */ \"./video-player.const.js\");\n/* harmony import */ var _plugins_interaction_areas_interaction_areas_const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../plugins/interaction-areas/interaction-areas.const */ \"./plugins/interaction-areas/interaction-areas.const.js\");\n/* harmony import */ var _plugins_adaptive_streaming_abr_strategies__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../plugins/adaptive-streaming/abr-strategies */ \"./plugins/adaptive-streaming/abr-strategies.js\");\n/* harmony import */ var _validators_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./validators-types */ \"./validators/validators-types.js\");\n\n\n\n\nconst playerValidators = {\n videojsOptions: {\n loop: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n controls: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n autoplay: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n autoplayMode: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_video_player_const__WEBPACK_IMPORTED_MODULE_0__.AUTO_PLAY_MODE),\n bigPlayButton: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n playbackRates: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArray,\n showLogo: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n logoImageUrl: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n logoOnclickUrl: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n videoJS: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n maxTries: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n muted: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n playsinline: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n videoTimeout: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n preload: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n sourceTransformation: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n allowUsageReport: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n interactionAreas: {\n theme: {\n template: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_plugins_interaction_areas_interaction_areas_const__WEBPACK_IMPORTED_MODULE_1__.INTERACTION_AREAS_THEME)\n },\n layout: {\n enable: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n showAgain: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean\n }\n }\n },\n playerOptions: {\n debug: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n queryParams: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n publicId: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n fluid: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n withCredentials: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n analytics: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n cloudinaryAnalytics: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean, _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject),\n hideContextMenu: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n playedEventPercents: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArrayOfNumbers,\n showJumpControls: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n chaptersButton: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n pictureInPictureToggle: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n seekThumbnails: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n aiHighlightsGraph: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n floatingWhenNotVisible: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_video_player_const__WEBPACK_IMPORTED_MODULE_0__.FLOATING_TO),\n playedEventTimes: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArray,\n playlistWidget: {\n direction: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n total: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber\n },\n colors: {\n base: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n accent: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n text: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString\n },\n ads: {\n adTagUrl: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n showCountdown: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n adLabel: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n locale: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n prerollTimeout: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n postrollTimeout: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n adsInPlaylist: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_video_player_const__WEBPACK_IMPORTED_MODULE_0__.ADS_IN_PLAYLIST)\n },\n cloudinary: {\n autoShowRecommendations: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n sourceTypes: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArrayOfStrings,\n transformation: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isObject,\n fontFace: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n posterOptions: {\n publicId: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n transformation: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isObject\n }\n }\n }\n};\nconst sourceValidators = {\n raw_transformation: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n shoppable: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n chapters: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean, _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject),\n visualSearch: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean),\n download: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n title: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString, _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean),\n description: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString, _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean),\n interactionAreas: {\n enable: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n template: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.or(_validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_plugins_interaction_areas_interaction_areas_const__WEBPACK_IMPORTED_MODULE_1__.INTERACTION_AREAS_TEMPLATE), _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArray),\n vttUrl: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n onClick: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isFunction\n },\n textTracks: {\n options: {\n theme: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n fontFace: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n fontSize: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n gravity: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n box: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n style: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject,\n wordHighlightStyle: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isPlainObject\n },\n captions: {\n label: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n language: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n default: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n url: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n maxWords: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n wordHighlight: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n timeOffset: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber\n },\n subtitles: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArrayOfObjects({\n label: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n language: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n default: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n url: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n maxWords: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber,\n wordHighlight: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isBoolean,\n timeOffset: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isNumber\n })\n },\n info: {\n title: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n subtitle: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString,\n description: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString\n },\n cloudinary: {\n sourceTypes: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isArrayOfStrings,\n transformation: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isObject\n },\n adaptiveStreaming: {\n strategy: _validators_types__WEBPACK_IMPORTED_MODULE_3__.validator.isString(_plugins_adaptive_streaming_abr_strategies__WEBPACK_IMPORTED_MODULE_2__.ADAPTIVE_STREAMING_STRATEGY)\n }\n};\n\n//# sourceURL=webpack://cloudinary-video-player/./validators/validators.js?"); /***/ }), /***/ "../node_modules/lodash/isBoolean.js": /*!*******************************************!*\ !*** ../node_modules/lodash/isBoolean.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"../node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"../node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n}\n\nmodule.exports = isBoolean;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/isBoolean.js?"); /***/ }), /***/ "../node_modules/lodash/isNumber.js": /*!******************************************!*\ !*** ../node_modules/lodash/isNumber.js ***! \******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"../node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"../node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/isNumber.js?"); /***/ }) }]);