@wistia/wistia-player 0.0.72 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/embeds/carousel/CarouselComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,GAAG,EAAE,MAAM,QAAQ,CAAC;AAO1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAOtD,eAAO,MAAM,uBAAuB,QAwNnC,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAAkB,KAAK,KAAG,GAAG,CAAC,OAAO,GAAG,IAyGrE,CAAC"}
1
+ {"version":3,"file":"CarouselComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/embeds/carousel/CarouselComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,GAAG,EAAE,MAAM,QAAQ,CAAC;AAO1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAStD,eAAO,MAAM,uBAAuB,QAwNnC,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAAkB,KAAK,KAAG,GAAG,CAAC,OAAO,GAAG,IA0HrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselMedia.d.ts","sourceRoot":"","sources":["../../../../../../src/embeds/carousel/CarouselMedia.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,eAAO,MAAM,qBAAqB,65GAwKjC,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AAIF,eAAO,MAAM,aAAa,wBAAyB,KAAK,KAAG,GAAG,CAAC,OAoE9D,CAAC"}
1
+ {"version":3,"file":"CarouselMedia.d.ts","sourceRoot":"","sources":["../../../../../../src/embeds/carousel/CarouselMedia.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,eAAO,MAAM,qBAAqB,65GAwKjC,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAyB,KAAK,KAAG,GAAG,CAAC,OA0C9D,CAAC"}
@@ -939,7 +939,7 @@ export declare class WistiaPlayer extends HTMLElement {
939
939
  */
940
940
  releaseControls(name: string): Promise<void>;
941
941
  /**
942
- * Replaces the media and resolves when the new media is ready to play
942
+ * Replaces the media and then resolves when the new media is ready to play
943
943
  * @param {string} mediaId
944
944
  * @param {EmbedOptions} options
945
945
  * @returns {Promise<void>}
@@ -2337,7 +2337,7 @@ var clipsFromChapters = function clipsFromChapters(chapterList, baseUrl, mediaDu
2337
2337
  var endOffsetTime = (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_1__/* .isNotNil */ .n9)(nextChapter) ? nextChapter.time : mediaDuration;
2338
2338
 
2339
2339
  // wtime does not support decimals
2340
- url.searchParams.append('wtime', "".concat(floorTime, "s"));
2340
+ url.searchParams.set('wtime', "".concat(floorTime, "s"));
2341
2341
 
2342
2342
  // https://schema.org/Clip
2343
2343
  return {
@@ -2354,7 +2354,7 @@ var clipsFromChapters = function clipsFromChapters(chapterList, baseUrl, mediaDu
2354
2354
  var seekToAction = function seekToAction() {
2355
2355
  var url = new window.URL(window.location.href);
2356
2356
  // if wtime is already on the url as query param, it will be overwritten here. This is only for the JSON+LD though.
2357
- url.searchParams.append('wtime', '{seek_to_second_number}');
2357
+ url.searchParams.set('wtime', '{seek_to_second_number}');
2358
2358
  return {
2359
2359
  '@type': 'SeekToAction',
2360
2360
  target: url.toString().replace('%7Bseek_to_second_number%7D', '{seek_to_second_number}'),
@@ -9996,7 +9996,7 @@ var PROD_EMBED_HOST = 'embed.wistia.com';
9996
9996
  var PROD_SSL_EMBED_HOST = 'embed-ssl.wistia.com';
9997
9997
  var PROD_FASTLY_SSL_HOST = 'embed-fastly.wistia.com';
9998
9998
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9999
- var TAGGED_VERSION = "0.0.72" || 0;
9999
+ var TAGGED_VERSION = "0.0.73" || 0;
10000
10000
  var DEFAULT_PROTOCOL = function () {
10001
10001
  if (typeof window !== 'undefined' && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location) {
10002
10002
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location.protocol;
@@ -16237,7 +16237,7 @@ var WistiaPlayer = /*#__PURE__*/function (_HTMLElement) {
16237
16237
  return releaseControls;
16238
16238
  }()
16239
16239
  /**
16240
- * Replaces the media and resolves when the new media is ready to play
16240
+ * Replaces the media and then resolves when the new media is ready to play
16241
16241
  * @param {string} mediaId
16242
16242
  * @param {EmbedOptions} options
16243
16243
  * @returns {Promise<void>}