videomail-client 9.2.7 → 9.2.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
|
@@ -17267,7 +17267,7 @@ function wrappy (fn, cb) {
|
|
|
17267
17267
|
},{}],116:[function(_dereq_,module,exports){
|
|
17268
17268
|
module.exports={
|
|
17269
17269
|
"name": "videomail-client",
|
|
17270
|
-
"version": "9.2.
|
|
17270
|
+
"version": "9.2.9",
|
|
17271
17271
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
17272
17272
|
"keywords": [
|
|
17273
17273
|
"webcam",
|
|
@@ -19810,6 +19810,10 @@ var Container = function Container(options) {
|
|
|
19810
19810
|
|
|
19811
19811
|
// since https://github.com/binarykitchen/videomail-client/issues/87
|
|
19812
19812
|
function findParentFormElement() {
|
|
19813
|
+
if (!containerElement) {
|
|
19814
|
+
// Must be in player only mode
|
|
19815
|
+
return;
|
|
19816
|
+
}
|
|
19813
19817
|
return containerElement.closest("form");
|
|
19814
19818
|
}
|
|
19815
19819
|
function getFormElement() {
|
|
@@ -20122,6 +20126,10 @@ var Container = function Container(options) {
|
|
|
20122
20126
|
return buttons.getSubmitButton();
|
|
20123
20127
|
};
|
|
20124
20128
|
this.querySelector = function (selector) {
|
|
20129
|
+
if (!containerElement) {
|
|
20130
|
+
// Must be in player only mode
|
|
20131
|
+
return;
|
|
20132
|
+
}
|
|
20125
20133
|
return containerElement.querySelector(selector);
|
|
20126
20134
|
};
|
|
20127
20135
|
this.beginWaiting = function () {
|
|
@@ -20909,7 +20917,7 @@ var Visuals = function Visuals(container, options) {
|
|
|
20909
20917
|
var built;
|
|
20910
20918
|
function buildNoScriptTag() {
|
|
20911
20919
|
var noScriptElement = container.querySelector("noscript");
|
|
20912
|
-
if (
|
|
20920
|
+
if (noScriptElement) {
|
|
20913
20921
|
noScriptElement = (0, _hyperscript.default)("noscript");
|
|
20914
20922
|
noScriptElement.innerHTML = "Please enable Javascript";
|
|
20915
20923
|
visualsElement.appendChild(noScriptElement);
|