videomail-client 9.0.8 → 9.0.9
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.0.
|
|
17276
|
+
"version": "9.0.9",
|
|
17277
17277
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
17278
17278
|
"keywords": [
|
|
17279
17279
|
"webcam",
|
|
@@ -17545,7 +17545,7 @@ var VideomailClient = function VideomailClient(options) {
|
|
|
17545
17545
|
return getBrowser(localOptions).canRecord();
|
|
17546
17546
|
};
|
|
17547
17547
|
|
|
17548
|
-
//
|
|
17548
|
+
// Returns true when a video has been recorded but is not submitted yet
|
|
17549
17549
|
this.isDirty = function () {
|
|
17550
17550
|
return container.isDirty();
|
|
17551
17551
|
};
|
|
@@ -20344,6 +20344,8 @@ var Container = function Container(options) {
|
|
|
20344
20344
|
if (form) {
|
|
20345
20345
|
if (visuals.isRecorderUnloaded()) {
|
|
20346
20346
|
isDirty = false;
|
|
20347
|
+
} else if (submitted) {
|
|
20348
|
+
isDirty = false;
|
|
20347
20349
|
} else if (this.isReplayShown() || this.isPaused()) {
|
|
20348
20350
|
isDirty = true;
|
|
20349
20351
|
}
|