videomail-client 15.2.0 → 15.3.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.
- package/dist/cjs/index.cjs +11 -8
- package/dist/esm/index.js +10 -8
- package/dist/esm/wrappers/visuals/replay.d.ts +0 -1
- package/dist/umd/index.js +10 -8
- package/package.json +5 -5
package/dist/cjs/index.cjs
CHANGED
|
@@ -11071,7 +11071,7 @@ var __webpack_modules__ = {
|
|
|
11071
11071
|
var client = __webpack_require__(5734);
|
|
11072
11072
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
11073
11073
|
var package_namespaceObject = {
|
|
11074
|
-
rE: "15.
|
|
11074
|
+
rE: "15.3.1"
|
|
11075
11075
|
};
|
|
11076
11076
|
function isAudioEnabled(options) {
|
|
11077
11077
|
return Boolean(options.audio.enabled);
|
|
@@ -18671,9 +18671,6 @@ var __webpack_modules__ = {
|
|
|
18671
18671
|
replayParentElement.appendChild(this.replayElement);
|
|
18672
18672
|
}
|
|
18673
18673
|
}
|
|
18674
|
-
isStandalone() {
|
|
18675
|
-
return "HTMLDivElement" === this.visuals.constructor.name;
|
|
18676
|
-
}
|
|
18677
18674
|
copyAttributes(newVideomail) {
|
|
18678
18675
|
let attributeContainer;
|
|
18679
18676
|
Object.keys(newVideomail).forEach((attribute)=>{
|
|
@@ -18766,10 +18763,11 @@ var __webpack_modules__ = {
|
|
|
18766
18763
|
this.replayElement.setAttribute("autobuffer", "true");
|
|
18767
18764
|
this.replayElement.setAttribute("playsinline", "true");
|
|
18768
18765
|
this.replayElement.setAttribute("webkit-playsinline", "webkit-playsinline");
|
|
18769
|
-
this.replayElement.setAttribute("controls", "controls");
|
|
18770
18766
|
this.replayElement.setAttribute("preload", "auto");
|
|
18771
18767
|
if (!this.built) {
|
|
18772
|
-
|
|
18768
|
+
this.on("PREVIEW", (params)=>{
|
|
18769
|
+
var _this_replayElement;
|
|
18770
|
+
null == (_this_replayElement = this.replayElement) || _this_replayElement.setAttribute("controls", "controls");
|
|
18773
18771
|
this.show(null == params ? void 0 : params.width, null == params ? void 0 : params.height, null == params ? void 0 : params.hasAudio);
|
|
18774
18772
|
});
|
|
18775
18773
|
this.replayElement.addEventListener("touchstart", (e)=>{
|
|
@@ -18898,8 +18896,13 @@ var __webpack_modules__ = {
|
|
|
18898
18896
|
});
|
|
18899
18897
|
}
|
|
18900
18898
|
hide() {
|
|
18901
|
-
if (this.
|
|
18902
|
-
|
|
18899
|
+
if (this.replayElement) {
|
|
18900
|
+
this.replayElement.pause();
|
|
18901
|
+
this.replayElement.removeAttribute("controls");
|
|
18902
|
+
if (this.replayElement.hasAttribute("src")) {
|
|
18903
|
+
this.replayElement.removeAttribute("src");
|
|
18904
|
+
this.replayElement.load();
|
|
18905
|
+
}
|
|
18903
18906
|
html_hideElement(this.replayElement);
|
|
18904
18907
|
html_hideElement(this.replayElement.parentElement);
|
|
18905
18908
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -3621,7 +3621,7 @@ const constants = {
|
|
|
3621
3621
|
}
|
|
3622
3622
|
};
|
|
3623
3623
|
var package_namespaceObject = {
|
|
3624
|
-
rE: "15.
|
|
3624
|
+
rE: "15.3.1"
|
|
3625
3625
|
};
|
|
3626
3626
|
function isAudioEnabled(options) {
|
|
3627
3627
|
return Boolean(options.audio.enabled);
|
|
@@ -7547,9 +7547,6 @@ class Replay extends util_Despot {
|
|
|
7547
7547
|
replayParentElement.appendChild(this.replayElement);
|
|
7548
7548
|
}
|
|
7549
7549
|
}
|
|
7550
|
-
isStandalone() {
|
|
7551
|
-
return "HTMLDivElement" === this.visuals.constructor.name;
|
|
7552
|
-
}
|
|
7553
7550
|
copyAttributes(newVideomail) {
|
|
7554
7551
|
let attributeContainer;
|
|
7555
7552
|
Object.keys(newVideomail).forEach((attribute)=>{
|
|
@@ -7635,10 +7632,10 @@ class Replay extends util_Despot {
|
|
|
7635
7632
|
this.replayElement.setAttribute("autobuffer", "true");
|
|
7636
7633
|
this.replayElement.setAttribute("playsinline", "true");
|
|
7637
7634
|
this.replayElement.setAttribute("webkit-playsinline", "webkit-playsinline");
|
|
7638
|
-
this.replayElement.setAttribute("controls", "controls");
|
|
7639
7635
|
this.replayElement.setAttribute("preload", "auto");
|
|
7640
7636
|
if (!this.built) {
|
|
7641
|
-
|
|
7637
|
+
this.on("PREVIEW", (params)=>{
|
|
7638
|
+
this.replayElement?.setAttribute("controls", "controls");
|
|
7642
7639
|
this.show(params?.width, params?.height, params?.hasAudio);
|
|
7643
7640
|
});
|
|
7644
7641
|
this.replayElement.addEventListener("touchstart", (e)=>{
|
|
@@ -7755,8 +7752,13 @@ class Replay extends util_Despot {
|
|
|
7755
7752
|
});
|
|
7756
7753
|
}
|
|
7757
7754
|
hide() {
|
|
7758
|
-
if (this.
|
|
7759
|
-
|
|
7755
|
+
if (this.replayElement) {
|
|
7756
|
+
this.replayElement.pause();
|
|
7757
|
+
this.replayElement.removeAttribute("controls");
|
|
7758
|
+
if (this.replayElement.hasAttribute("src")) {
|
|
7759
|
+
this.replayElement.removeAttribute("src");
|
|
7760
|
+
this.replayElement.load();
|
|
7761
|
+
}
|
|
7760
7762
|
html_hideElement(this.replayElement);
|
|
7761
7763
|
html_hideElement(this.replayElement.parentElement);
|
|
7762
7764
|
}
|
|
@@ -10,7 +10,6 @@ declare class Replay extends Despot {
|
|
|
10
10
|
private videomail?;
|
|
11
11
|
constructor(visuals: Visuals, options: VideomailClientOptions);
|
|
12
12
|
private buildElement;
|
|
13
|
-
private isStandalone;
|
|
14
13
|
private copyAttributes;
|
|
15
14
|
private correctDimensions;
|
|
16
15
|
setVideomail(newVideomail: Videomail, playerOnly?: boolean): void;
|
package/dist/umd/index.js
CHANGED
|
@@ -11495,7 +11495,7 @@
|
|
|
11495
11495
|
var client = __webpack_require__(5734);
|
|
11496
11496
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
11497
11497
|
var package_namespaceObject = {
|
|
11498
|
-
rE: "15.
|
|
11498
|
+
rE: "15.3.1"
|
|
11499
11499
|
};
|
|
11500
11500
|
function isAudioEnabled(options) {
|
|
11501
11501
|
return Boolean(options.audio.enabled);
|
|
@@ -18802,9 +18802,6 @@
|
|
|
18802
18802
|
replayParentElement.appendChild(this.replayElement);
|
|
18803
18803
|
}
|
|
18804
18804
|
}
|
|
18805
|
-
isStandalone() {
|
|
18806
|
-
return "HTMLDivElement" === this.visuals.constructor.name;
|
|
18807
|
-
}
|
|
18808
18805
|
copyAttributes(newVideomail) {
|
|
18809
18806
|
let attributeContainer;
|
|
18810
18807
|
Object.keys(newVideomail).forEach((attribute)=>{
|
|
@@ -18890,10 +18887,10 @@
|
|
|
18890
18887
|
this.replayElement.setAttribute("autobuffer", "true");
|
|
18891
18888
|
this.replayElement.setAttribute("playsinline", "true");
|
|
18892
18889
|
this.replayElement.setAttribute("webkit-playsinline", "webkit-playsinline");
|
|
18893
|
-
this.replayElement.setAttribute("controls", "controls");
|
|
18894
18890
|
this.replayElement.setAttribute("preload", "auto");
|
|
18895
18891
|
if (!this.built) {
|
|
18896
|
-
|
|
18892
|
+
this.on("PREVIEW", (params)=>{
|
|
18893
|
+
this.replayElement?.setAttribute("controls", "controls");
|
|
18897
18894
|
this.show(params?.width, params?.height, params?.hasAudio);
|
|
18898
18895
|
});
|
|
18899
18896
|
this.replayElement.addEventListener("touchstart", (e)=>{
|
|
@@ -19010,8 +19007,13 @@
|
|
|
19010
19007
|
});
|
|
19011
19008
|
}
|
|
19012
19009
|
hide() {
|
|
19013
|
-
if (this.
|
|
19014
|
-
|
|
19010
|
+
if (this.replayElement) {
|
|
19011
|
+
this.replayElement.pause();
|
|
19012
|
+
this.replayElement.removeAttribute("controls");
|
|
19013
|
+
if (this.replayElement.hasAttribute("src")) {
|
|
19014
|
+
this.replayElement.removeAttribute("src");
|
|
19015
|
+
this.replayElement.load();
|
|
19016
|
+
}
|
|
19015
19017
|
html_hideElement(this.replayElement);
|
|
19016
19018
|
html_hideElement(this.replayElement.parentElement);
|
|
19017
19019
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.3.1",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, for Deaf and Sign Language!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"audio",
|
|
12
12
|
"recorder"
|
|
13
13
|
],
|
|
14
|
-
"homepage": "https://videomail
|
|
14
|
+
"homepage": "https://github.com/binarykitchen/videomail-client",
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
17
|
"url": "git+https://github.com/binarykitchen/videomail-client.git"
|
|
@@ -90,19 +90,19 @@
|
|
|
90
90
|
"@tsconfig/node26": "26.0.1",
|
|
91
91
|
"@tsconfig/strictest": "2.0.8",
|
|
92
92
|
"@types/defined": "1.0.2",
|
|
93
|
-
"@types/node": "26.
|
|
93
|
+
"@types/node": "26.4.0",
|
|
94
94
|
"@types/superagent": "8.1.11",
|
|
95
95
|
"@types/ua-parser-js": "0.7.39",
|
|
96
96
|
"@vitest/eslint-plugin": "1.6.27",
|
|
97
97
|
"audit-ci": "7.1.0",
|
|
98
|
-
"chromatic": "18.
|
|
98
|
+
"chromatic": "18.7.1",
|
|
99
99
|
"cross-env": "10.1.0",
|
|
100
100
|
"eslint": "10.9.1",
|
|
101
101
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
102
102
|
"eslint-plugin-de-morgan": "2.1.3",
|
|
103
103
|
"eslint-plugin-depend": "1.5.0",
|
|
104
104
|
"eslint-plugin-import-x": "4.17.1",
|
|
105
|
-
"eslint-plugin-package-json": "1.
|
|
105
|
+
"eslint-plugin-package-json": "1.8.0",
|
|
106
106
|
"eslint-plugin-regexp": "3.2.0",
|
|
107
107
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
108
108
|
"globals": "17.11.0",
|