videomail-client 11.3.1 → 11.3.3
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.
- package/dist/cjs/index.cjs +19 -20
- package/dist/esm/index.d.ts +3 -10
- package/dist/esm/index.js +12 -13
- package/dist/esm/types/VideoExtension.d.ts +5 -0
- package/dist/esm/util/Browser.d.ts +3 -4
- package/dist/esm/util/html/media/canPlayType.d.ts +2 -2
- package/dist/esm/wrappers/visuals/replay.d.ts +1 -2
- package/dist/umd/index.js +23 -24
- package/package.json +1 -1
- package/dist/esm/types/VideoType.d.ts +0 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -10324,8 +10324,8 @@ var __webpack_exports__ = {};
|
|
|
10324
10324
|
"use strict";
|
|
10325
10325
|
__webpack_require__.r(__webpack_exports__);
|
|
10326
10326
|
__webpack_require__.d(__webpack_exports__, {
|
|
10327
|
-
|
|
10328
|
-
|
|
10327
|
+
VideoExtension: ()=>VideoExtension,
|
|
10328
|
+
VideomailClient: ()=>src_client
|
|
10329
10329
|
});
|
|
10330
10330
|
const constants = {
|
|
10331
10331
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
@@ -10488,7 +10488,7 @@ var __webpack_exports__ = {};
|
|
|
10488
10488
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10489
10489
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10490
10490
|
var package_namespaceObject = {
|
|
10491
|
-
rE: "11.3.
|
|
10491
|
+
rE: "11.3.3"
|
|
10492
10492
|
};
|
|
10493
10493
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10494
10494
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13624,6 +13624,10 @@ var __webpack_exports__ = {};
|
|
|
13624
13624
|
NAME,
|
|
13625
13625
|
VERSION
|
|
13626
13626
|
]);
|
|
13627
|
+
const VideoExtension = {
|
|
13628
|
+
WebM: "webm",
|
|
13629
|
+
MP4: "mp4"
|
|
13630
|
+
};
|
|
13627
13631
|
function canPlayType_canPlayType(video, type) {
|
|
13628
13632
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13629
13633
|
if ("" === canPlayType) return false;
|
|
@@ -13640,7 +13644,7 @@ var __webpack_exports__ = {};
|
|
|
13640
13644
|
else obj[key] = value;
|
|
13641
13645
|
return obj;
|
|
13642
13646
|
}
|
|
13643
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13647
|
+
const FALLBACK_VIDEO_TYPE = VideoExtension.MP4;
|
|
13644
13648
|
class Browser_Browser {
|
|
13645
13649
|
isIOS() {
|
|
13646
13650
|
return "iOS" === this.result.os.name;
|
|
@@ -13678,10 +13682,10 @@ var __webpack_exports__ = {};
|
|
|
13678
13682
|
}
|
|
13679
13683
|
getVideoType(video) {
|
|
13680
13684
|
if (!this.videoType) {
|
|
13681
|
-
if (media_canPlayType(video,
|
|
13682
|
-
else if (media_canPlayType(video,
|
|
13685
|
+
if (media_canPlayType(video, VideoExtension.MP4)) this.videoType = VideoExtension.MP4;
|
|
13686
|
+
else if (media_canPlayType(video, VideoExtension.WebM)) this.videoType = VideoExtension.WebM;
|
|
13683
13687
|
}
|
|
13684
|
-
if (this.videoType !==
|
|
13688
|
+
if (this.videoType !== VideoExtension.WebM && this.videoType !== VideoExtension.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13685
13689
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13686
13690
|
return this.videoType;
|
|
13687
13691
|
}
|
|
@@ -14979,7 +14983,7 @@ var __webpack_exports__ = {};
|
|
|
14979
14983
|
return outerWidth;
|
|
14980
14984
|
}
|
|
14981
14985
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14982
|
-
function
|
|
14986
|
+
function limitWidth_limitWidth(element, options, width) {
|
|
14983
14987
|
let limitedWidth;
|
|
14984
14988
|
const outerWidth = getOuterWidth(element);
|
|
14985
14989
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14989,7 +14993,7 @@ var __webpack_exports__ = {};
|
|
|
14989
14993
|
});
|
|
14990
14994
|
return limitedWidth;
|
|
14991
14995
|
}
|
|
14992
|
-
const
|
|
14996
|
+
const limitWidth = limitWidth_limitWidth;
|
|
14993
14997
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14994
14998
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14995
14999
|
function disableElement(element) {
|
|
@@ -16261,7 +16265,7 @@ var __webpack_exports__ = {};
|
|
|
16261
16265
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16262
16266
|
options
|
|
16263
16267
|
});
|
|
16264
|
-
if (responsive && element) width =
|
|
16268
|
+
if (responsive && element) width = limitWidth(element, options, width);
|
|
16265
16269
|
const chosenRatio = null != ratio ? ratio : getRatio(options, void 0, videoWidth);
|
|
16266
16270
|
const height = Math.round(width * chosenRatio);
|
|
16267
16271
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17882,10 +17886,10 @@ var __webpack_exports__ = {};
|
|
|
17882
17886
|
}
|
|
17883
17887
|
}
|
|
17884
17888
|
setMp4Source(src, bustCache) {
|
|
17885
|
-
this.setVideoSource(
|
|
17889
|
+
this.setVideoSource(VideoExtension.MP4, src, bustCache);
|
|
17886
17890
|
}
|
|
17887
17891
|
setWebMSource(src, bustCache) {
|
|
17888
|
-
this.setVideoSource(
|
|
17892
|
+
this.setVideoSource(VideoExtension.WebM, src, bustCache);
|
|
17889
17893
|
}
|
|
17890
17894
|
getVideoType() {
|
|
17891
17895
|
if (!this.replayElement) return;
|
|
@@ -18394,7 +18398,7 @@ var __webpack_exports__ = {};
|
|
|
18394
18398
|
}
|
|
18395
18399
|
limitWidth(width) {
|
|
18396
18400
|
if (!this.containerElement) return;
|
|
18397
|
-
return
|
|
18401
|
+
return limitWidth(this.containerElement, this.options, width);
|
|
18398
18402
|
}
|
|
18399
18403
|
limitHeight(height) {
|
|
18400
18404
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18815,16 +18819,11 @@ var __webpack_exports__ = {};
|
|
|
18815
18819
|
client_define_property(VideomailClient, "ENC_TYPE_APP_JSON", constants["public"].ENC_TYPE_APP_JSON);
|
|
18816
18820
|
client_define_property(VideomailClient, "ENC_TYPE_FORM", constants["public"].ENC_TYPE_FORM);
|
|
18817
18821
|
const src_client = VideomailClient;
|
|
18818
|
-
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18819
|
-
VideoType1["WebM"] = "webm";
|
|
18820
|
-
VideoType1["MP4"] = "mp4";
|
|
18821
|
-
return VideoType1;
|
|
18822
|
-
}({});
|
|
18823
18822
|
})();
|
|
18824
|
-
exports.
|
|
18823
|
+
exports.VideoExtension = __webpack_exports__.VideoExtension;
|
|
18825
18824
|
exports.VideomailClient = __webpack_exports__.VideomailClient;
|
|
18826
18825
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
18827
|
-
"
|
|
18826
|
+
"VideoExtension",
|
|
18828
18827
|
"VideomailClient"
|
|
18829
18828
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
18830
18829
|
Object.defineProperty(exports, '__esModule', {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -6,14 +6,7 @@ import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
|
|
|
6
6
|
import VideomailEvents from "./types/events";
|
|
7
7
|
import { VideomailClientOptions } from "./types/options";
|
|
8
8
|
import RecordingStats from "./types/RecordingStats";
|
|
9
|
+
import { VideoExtension } from "./types/VideoExtension";
|
|
9
10
|
import Videomail, { PartialVideomail } from "./types/Videomail";
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export type { VideomailEvents };
|
|
13
|
-
export type { RecordingStats };
|
|
14
|
-
export type { VideomailClientOptions };
|
|
15
|
-
export { VideomailClient, VideoType };
|
|
16
|
-
export type { FullVideomailErrorData, PartialVideomail, VideomailErrorData };
|
|
17
|
-
export type { Command, CommandArgs };
|
|
18
|
-
export type { DeliveryRecord };
|
|
19
|
-
export type { EmailAddress, EmailAddresses };
|
|
11
|
+
export type { Command, CommandArgs, DeliveryRecord, EmailAddress, EmailAddresses, FullVideomailErrorData, PartialVideomail, RecordingStats, Videomail, VideomailClientOptions, VideomailErrorData, VideomailEvents, };
|
|
12
|
+
export { VideoExtension, VideomailClient };
|
package/dist/esm/index.js
CHANGED
|
@@ -3454,20 +3454,19 @@ const constants = {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
3456
|
var package_namespaceObject = {
|
|
3457
|
-
rE: "11.3.
|
|
3457
|
+
rE: "11.3.3"
|
|
3458
|
+
};
|
|
3459
|
+
const VideoExtension = {
|
|
3460
|
+
WebM: "webm",
|
|
3461
|
+
MP4: "mp4"
|
|
3458
3462
|
};
|
|
3459
|
-
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
3460
|
-
VideoType1["WebM"] = "webm";
|
|
3461
|
-
VideoType1["MP4"] = "mp4";
|
|
3462
|
-
return VideoType1;
|
|
3463
|
-
}({});
|
|
3464
3463
|
function canPlayType_canPlayType(video, type) {
|
|
3465
3464
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
3466
3465
|
if ("" === canPlayType) return false;
|
|
3467
3466
|
return canPlayType;
|
|
3468
3467
|
}
|
|
3469
3468
|
const media_canPlayType = canPlayType_canPlayType;
|
|
3470
|
-
const FALLBACK_VIDEO_TYPE =
|
|
3469
|
+
const FALLBACK_VIDEO_TYPE = VideoExtension.MP4;
|
|
3471
3470
|
class Browser {
|
|
3472
3471
|
options;
|
|
3473
3472
|
result;
|
|
@@ -3514,10 +3513,10 @@ class Browser {
|
|
|
3514
3513
|
}
|
|
3515
3514
|
getVideoType(video) {
|
|
3516
3515
|
if (!this.videoType) {
|
|
3517
|
-
if (media_canPlayType(video,
|
|
3518
|
-
else if (media_canPlayType(video,
|
|
3516
|
+
if (media_canPlayType(video, VideoExtension.MP4)) this.videoType = VideoExtension.MP4;
|
|
3517
|
+
else if (media_canPlayType(video, VideoExtension.WebM)) this.videoType = VideoExtension.WebM;
|
|
3519
3518
|
}
|
|
3520
|
-
if (this.videoType !==
|
|
3519
|
+
if (this.videoType !== VideoExtension.WebM && this.videoType !== VideoExtension.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3521
3520
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3522
3521
|
return this.videoType;
|
|
3523
3522
|
}
|
|
@@ -7308,10 +7307,10 @@ class Replay extends util_Despot {
|
|
|
7308
7307
|
}
|
|
7309
7308
|
}
|
|
7310
7309
|
setMp4Source(src, bustCache) {
|
|
7311
|
-
this.setVideoSource(
|
|
7310
|
+
this.setVideoSource(VideoExtension.MP4, src, bustCache);
|
|
7312
7311
|
}
|
|
7313
7312
|
setWebMSource(src, bustCache) {
|
|
7314
|
-
this.setVideoSource(
|
|
7313
|
+
this.setVideoSource(VideoExtension.WebM, src, bustCache);
|
|
7315
7314
|
}
|
|
7316
7315
|
getVideoType() {
|
|
7317
7316
|
if (!this.replayElement) return;
|
|
@@ -8199,4 +8198,4 @@ class VideomailClient extends util_Despot {
|
|
|
8199
8198
|
}
|
|
8200
8199
|
}
|
|
8201
8200
|
const client = VideomailClient;
|
|
8202
|
-
export {
|
|
8201
|
+
export { VideoExtension, client as VideomailClient };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../types/options";
|
|
2
|
-
import { VideoType } from "../types/VideoType";
|
|
3
2
|
declare class Browser {
|
|
4
|
-
private options;
|
|
5
|
-
private result;
|
|
3
|
+
private readonly options;
|
|
4
|
+
private readonly result;
|
|
6
5
|
private videoType;
|
|
7
6
|
constructor(options: VideomailClientOptions);
|
|
8
7
|
isIOS(): boolean;
|
|
@@ -15,7 +14,7 @@ declare class Browser {
|
|
|
15
14
|
isChromeBased(): boolean;
|
|
16
15
|
isMobile(): boolean;
|
|
17
16
|
isOkSafari(): boolean;
|
|
18
|
-
getVideoType(video: HTMLVideoElement):
|
|
17
|
+
getVideoType(video: HTMLVideoElement): "mp4" | "webm";
|
|
19
18
|
getNoAccessIssue(): import("./error/VideomailError").default;
|
|
20
19
|
getUsefulData(): {
|
|
21
20
|
ua: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function canPlayType(video: HTMLVideoElement, type:
|
|
1
|
+
import { VideoExtensionType } from "../../../types/VideoExtension";
|
|
2
|
+
declare function canPlayType(video: HTMLVideoElement, type: VideoExtensionType): false | "maybe" | "probably";
|
|
3
3
|
export default canPlayType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
2
2
|
import Videomail from "../../types/Videomail";
|
|
3
|
-
import { VideoType } from "../../types/VideoType";
|
|
4
3
|
import Despot from "../../util/Despot";
|
|
5
4
|
import { UnloadParams } from "../container";
|
|
6
5
|
import Visuals from "../visuals";
|
|
@@ -23,7 +22,7 @@ declare class Replay extends Despot {
|
|
|
23
22
|
private setVideoSource;
|
|
24
23
|
setMp4Source(src?: string, bustCache?: boolean): void;
|
|
25
24
|
setWebMSource(src?: string, bustCache?: boolean): void;
|
|
26
|
-
getVideoType():
|
|
25
|
+
getVideoType(): "mp4" | "webm" | undefined;
|
|
27
26
|
private pause;
|
|
28
27
|
reset(cb?: any): void;
|
|
29
28
|
hide(): void;
|
package/dist/umd/index.js
CHANGED
|
@@ -10330,8 +10330,8 @@
|
|
|
10330
10330
|
"use strict";
|
|
10331
10331
|
__webpack_require__.r(__webpack_exports__);
|
|
10332
10332
|
__webpack_require__.d(__webpack_exports__, {
|
|
10333
|
-
|
|
10334
|
-
|
|
10333
|
+
VideoExtension: ()=>VideoExtension,
|
|
10334
|
+
VideomailClient: ()=>src_client
|
|
10335
10335
|
});
|
|
10336
10336
|
const constants = {
|
|
10337
10337
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
@@ -10494,7 +10494,7 @@
|
|
|
10494
10494
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10495
10495
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10496
10496
|
var package_namespaceObject = {
|
|
10497
|
-
rE: "11.3.
|
|
10497
|
+
rE: "11.3.3"
|
|
10498
10498
|
};
|
|
10499
10499
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10500
10500
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13630,14 +13630,18 @@
|
|
|
13630
13630
|
NAME,
|
|
13631
13631
|
VERSION
|
|
13632
13632
|
]);
|
|
13633
|
+
const VideoExtension = {
|
|
13634
|
+
WebM: "webm",
|
|
13635
|
+
MP4: "mp4"
|
|
13636
|
+
};
|
|
13633
13637
|
function canPlayType_canPlayType(video, type) {
|
|
13634
13638
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13635
13639
|
if ("" === canPlayType) return false;
|
|
13636
13640
|
return canPlayType;
|
|
13637
13641
|
}
|
|
13638
13642
|
const media_canPlayType = canPlayType_canPlayType;
|
|
13639
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13640
|
-
class
|
|
13643
|
+
const FALLBACK_VIDEO_TYPE = VideoExtension.MP4;
|
|
13644
|
+
class Browser_Browser {
|
|
13641
13645
|
options;
|
|
13642
13646
|
result;
|
|
13643
13647
|
videoType;
|
|
@@ -13683,10 +13687,10 @@
|
|
|
13683
13687
|
}
|
|
13684
13688
|
getVideoType(video) {
|
|
13685
13689
|
if (!this.videoType) {
|
|
13686
|
-
if (media_canPlayType(video,
|
|
13687
|
-
else if (media_canPlayType(video,
|
|
13690
|
+
if (media_canPlayType(video, VideoExtension.MP4)) this.videoType = VideoExtension.MP4;
|
|
13691
|
+
else if (media_canPlayType(video, VideoExtension.WebM)) this.videoType = VideoExtension.WebM;
|
|
13688
13692
|
}
|
|
13689
|
-
if (this.videoType !==
|
|
13693
|
+
if (this.videoType !== VideoExtension.WebM && this.videoType !== VideoExtension.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13690
13694
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13691
13695
|
return this.videoType;
|
|
13692
13696
|
}
|
|
@@ -13711,10 +13715,10 @@
|
|
|
13711
13715
|
};
|
|
13712
13716
|
}
|
|
13713
13717
|
}
|
|
13714
|
-
const
|
|
13718
|
+
const Browser = Browser_Browser;
|
|
13715
13719
|
let getBrowser_browser;
|
|
13716
13720
|
function getBrowser(localOptions) {
|
|
13717
|
-
if (!getBrowser_browser) getBrowser_browser = new
|
|
13721
|
+
if (!getBrowser_browser) getBrowser_browser = new Browser(localOptions);
|
|
13718
13722
|
return getBrowser_browser;
|
|
13719
13723
|
}
|
|
13720
13724
|
const util_getBrowser = getBrowser;
|
|
@@ -14672,7 +14676,7 @@
|
|
|
14672
14676
|
}
|
|
14673
14677
|
};
|
|
14674
14678
|
const src_options = options_options;
|
|
14675
|
-
class
|
|
14679
|
+
class CollectLogger {
|
|
14676
14680
|
browser;
|
|
14677
14681
|
logger;
|
|
14678
14682
|
stack = [];
|
|
@@ -14711,7 +14715,7 @@
|
|
|
14711
14715
|
return this.stack;
|
|
14712
14716
|
}
|
|
14713
14717
|
}
|
|
14714
|
-
const
|
|
14718
|
+
const util_CollectLogger = CollectLogger;
|
|
14715
14719
|
var process = __webpack_require__("./node_modules/process/browser.js");
|
|
14716
14720
|
function isTest() {
|
|
14717
14721
|
return "test" === process.env.ENVIRON;
|
|
@@ -14723,7 +14727,7 @@
|
|
|
14723
14727
|
return source;
|
|
14724
14728
|
}
|
|
14725
14729
|
});
|
|
14726
|
-
const collectLogger = new
|
|
14730
|
+
const collectLogger = new util_CollectLogger(newOptions);
|
|
14727
14731
|
newOptions.logger = collectLogger;
|
|
14728
14732
|
if (util_isTest()) newOptions.verbose = false;
|
|
14729
14733
|
return newOptions;
|
|
@@ -14918,7 +14922,7 @@
|
|
|
14918
14922
|
return outerWidth;
|
|
14919
14923
|
}
|
|
14920
14924
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14921
|
-
function
|
|
14925
|
+
function limitWidth_limitWidth(element, options, width) {
|
|
14922
14926
|
let limitedWidth;
|
|
14923
14927
|
const outerWidth = getOuterWidth(element);
|
|
14924
14928
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14928,7 +14932,7 @@
|
|
|
14928
14932
|
});
|
|
14929
14933
|
return limitedWidth;
|
|
14930
14934
|
}
|
|
14931
|
-
const
|
|
14935
|
+
const limitWidth = limitWidth_limitWidth;
|
|
14932
14936
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14933
14937
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14934
14938
|
function disableElement(element) {
|
|
@@ -16092,7 +16096,7 @@
|
|
|
16092
16096
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16093
16097
|
options
|
|
16094
16098
|
});
|
|
16095
|
-
if (responsive && element) width =
|
|
16099
|
+
if (responsive && element) width = limitWidth(element, options, width);
|
|
16096
16100
|
const chosenRatio = ratio ?? getRatio(options, void 0, videoWidth);
|
|
16097
16101
|
const height = Math.round(width * chosenRatio);
|
|
16098
16102
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17670,10 +17674,10 @@
|
|
|
17670
17674
|
}
|
|
17671
17675
|
}
|
|
17672
17676
|
setMp4Source(src, bustCache) {
|
|
17673
|
-
this.setVideoSource(
|
|
17677
|
+
this.setVideoSource(VideoExtension.MP4, src, bustCache);
|
|
17674
17678
|
}
|
|
17675
17679
|
setWebMSource(src, bustCache) {
|
|
17676
|
-
this.setVideoSource(
|
|
17680
|
+
this.setVideoSource(VideoExtension.WebM, src, bustCache);
|
|
17677
17681
|
}
|
|
17678
17682
|
getVideoType() {
|
|
17679
17683
|
if (!this.replayElement) return;
|
|
@@ -18167,7 +18171,7 @@
|
|
|
18167
18171
|
}
|
|
18168
18172
|
limitWidth(width) {
|
|
18169
18173
|
if (!this.containerElement) return;
|
|
18170
|
-
return
|
|
18174
|
+
return limitWidth(this.containerElement, this.options, width);
|
|
18171
18175
|
}
|
|
18172
18176
|
limitHeight(height) {
|
|
18173
18177
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18561,11 +18565,6 @@
|
|
|
18561
18565
|
}
|
|
18562
18566
|
}
|
|
18563
18567
|
const src_client = VideomailClient;
|
|
18564
|
-
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18565
|
-
VideoType1["WebM"] = "webm";
|
|
18566
|
-
VideoType1["MP4"] = "mp4";
|
|
18567
|
-
return VideoType1;
|
|
18568
|
-
}({});
|
|
18569
18568
|
})();
|
|
18570
18569
|
return __webpack_exports__;
|
|
18571
18570
|
})());
|
package/package.json
CHANGED