videomail-client 13.6.12 → 13.6.13
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/README.md +4 -4
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/Videomail.d.ts +1 -1
- package/dist/esm/wrappers/form.d.ts +2 -2
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ That's it. Easy as apple pie.
|
|
|
42
42
|
|
|
43
43
|
## Demo
|
|
44
44
|
|
|
45
|
-
A mirror of latest videomail-client can be seen on [videomail-client.netlify.
|
|
45
|
+
A mirror of latest videomail-client can be seen on [videomail-client.netlify.app](https://videomail-client.netlify.app)
|
|
46
46
|
|
|
47
47
|
### Real world usages
|
|
48
48
|
|
|
@@ -59,7 +59,7 @@ There are plenty if you just ask us. And way more will follow, we are rolling ..
|
|
|
59
59
|
|
|
60
60
|
There are many options you can pass onto the VideomailClient constructor. Check out the annotated source code at [src/options.ts](https://github.com/binarykitchen/videomail-client/blob/master/src/options.ts)
|
|
61
61
|
|
|
62
|
-
In most cases, these defaults are good enough.
|
|
62
|
+
In most cases, these defaults are good enough. Only one option, `whitelistKey` should be changed when you deploy your own site, see <a href="#whitelist">Whitelist</a>.
|
|
63
63
|
|
|
64
64
|
Looking at the examples in the `/src/stories` folder should give you some ideas how to use these options.
|
|
65
65
|
|
|
@@ -240,7 +240,7 @@ It's emitted in the SUBMITTED event under the videomail object:
|
|
|
240
240
|
"key": "11e8-de52-55ac2630-b22b-71959562a989",
|
|
241
241
|
"expirationPretty": "1 hour",
|
|
242
242
|
"expiresAfter": 1541134189811,
|
|
243
|
-
"
|
|
243
|
+
"siteName": "Videomail Client Example",
|
|
244
244
|
"webm": "https://videomail.io/videomail/some-subject-183622500964/type/webm/",
|
|
245
245
|
"poster": "https://videomail.io/videomail/some-subject-183622500964/poster/",
|
|
246
246
|
"dateCreatedPretty": "Nov 2, 2018, 4:49 PM",
|
|
@@ -280,7 +280,7 @@ Otherwise only the videomail alias is in the form body and will have to call `vi
|
|
|
280
280
|
|
|
281
281
|
Examples will work right away on [https://localhost:8443](https://localhost:8443). This is because localhost is whitelisted on the remote Videomail server. `https://localhost` and `https://localhost:443` are whitelisted too for local development. Other IP addresses won't work. If this is a problem, contact me and I can whitelist more.
|
|
282
282
|
|
|
283
|
-
In other words, if your web server is connected through a domain besides localhost, the Videomail-Client is restricted from sending the media packets to the remote Videomail server which is responsible for storing and sending videomails. To fix that, just lodge a whitelist request at [https://videomail.io/whitelist](https://videomail.io/whitelist). Then you should get a new
|
|
283
|
+
In other words, if your web server is connected through a domain besides localhost, the Videomail-Client is restricted from sending the media packets to the remote Videomail server which is responsible for storing and sending videomails. To fix that, just lodge a whitelist request at [https://videomail.io/whitelist](https://videomail.io/whitelist). Then you should get a new whitelist key and a list of whitelisted URLs for your own usage.
|
|
284
284
|
|
|
285
285
|
<a name="compatibility"></a>
|
|
286
286
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -10731,7 +10731,7 @@ var __webpack_exports__ = {};
|
|
|
10731
10731
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10732
10732
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10733
10733
|
var package_namespaceObject = {
|
|
10734
|
-
rE: "13.6.
|
|
10734
|
+
rE: "13.6.13"
|
|
10735
10735
|
};
|
|
10736
10736
|
function isAudioEnabled(options) {
|
|
10737
10737
|
return Boolean(options.audio.enabled);
|
package/dist/esm/index.js
CHANGED
|
@@ -113,7 +113,7 @@ declare class Form extends Despot {
|
|
|
113
113
|
sentDateServerPretty?: string;
|
|
114
114
|
serverTimePretty?: string;
|
|
115
115
|
whitelistKey?: string;
|
|
116
|
-
|
|
116
|
+
siteName?: string;
|
|
117
117
|
url?: string;
|
|
118
118
|
userKey?: string;
|
|
119
119
|
versions?: {
|
|
@@ -252,7 +252,7 @@ declare class Form extends Despot {
|
|
|
252
252
|
sentDateServerPretty?: string;
|
|
253
253
|
serverTimePretty?: string;
|
|
254
254
|
whitelistKey?: string;
|
|
255
|
-
|
|
255
|
+
siteName?: string;
|
|
256
256
|
url?: string;
|
|
257
257
|
userKey?: string;
|
|
258
258
|
versions?: {
|
package/dist/umd/index.js
CHANGED
|
@@ -10737,7 +10737,7 @@
|
|
|
10737
10737
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10738
10738
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10739
10739
|
var package_namespaceObject = {
|
|
10740
|
-
rE: "13.6.
|
|
10740
|
+
rE: "13.6.13"
|
|
10741
10741
|
};
|
|
10742
10742
|
function isAudioEnabled(options) {
|
|
10743
10743
|
return Boolean(options.audio.enabled);
|