videomail-client 9.1.2 → 9.1.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/package.json
CHANGED
|
@@ -17273,7 +17273,7 @@ function wrappy (fn, cb) {
|
|
|
17273
17273
|
},{}],114:[function(_dereq_,module,exports){
|
|
17274
17274
|
module.exports={
|
|
17275
17275
|
"name": "videomail-client",
|
|
17276
|
-
"version": "9.1.
|
|
17276
|
+
"version": "9.1.3",
|
|
17277
17277
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
17278
17278
|
"keywords": [
|
|
17279
17279
|
"webcam",
|
|
@@ -17510,8 +17510,12 @@ var VideomailClient = function VideomailClient(options) {
|
|
|
17510
17510
|
} else {
|
|
17511
17511
|
container.loadForm(videomail);
|
|
17512
17512
|
}
|
|
17513
|
-
|
|
17514
|
-
|
|
17513
|
+
|
|
17514
|
+
// slight delay needed to avoid HTTP 416 errors (request range unavailable)
|
|
17515
|
+
setTimeout(function () {
|
|
17516
|
+
replay.setVideomail(videomail);
|
|
17517
|
+
container.showReplayOnly();
|
|
17518
|
+
}, 10e2); // not sure, but probably can be reduced a bit
|
|
17515
17519
|
}
|
|
17516
17520
|
buildReplay();
|
|
17517
17521
|
};
|
|
@@ -20550,8 +20554,8 @@ var Form = function Form(container, formElement, options) {
|
|
|
20550
20554
|
var formFieldValue = FORM_FIELDS[key];
|
|
20551
20555
|
if (formFieldValue in formData) {
|
|
20552
20556
|
var value = formData[formFieldValue];
|
|
20553
|
-
if (value ===
|
|
20554
|
-
// skip
|
|
20557
|
+
if (value === undefined) {
|
|
20558
|
+
// skip
|
|
20555
20559
|
} else {
|
|
20556
20560
|
transformedFormData[key] = value;
|
|
20557
20561
|
}
|