Skip to content

Commit ac19d51

Browse files
committed
Merge branch 'release/10.0.0'
* release/10.0.0: Final commit of version 10.0.0 Migrate from site name to whitelist key
2 parents d749cd6 + 4c9725b commit ac19d51

14 files changed

Lines changed: 73 additions & 54 deletions

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ Requires the [Ninja Forms plugin](https://github.com/wpninjas/ninja-forms).
1616

1717
In short: this add-on runs on the Ninja Forms plugin engine where you can configure forms very easily. Upon installation, a new type will be added to enable recordable videos.
1818

19+
## Playground
20+
21+
If you would like to have a quick play, you can quickly spawn a temporary WordPress site using TasteWP with this URL:<br/>
22+
https://tastewp.com/recipe/5384480fa0
23+
24+
Just note that it will last 6 days only and that you'll have to create a [new whitelist entry](https://www.videomail.io/whitelist) for that.
25+
1926
## Development (Personal)
2027

2128
1. Install WordPress locally or use [Local by Flywheel](https://local.getflywheel.com/)

dist/videomail-for-ninja-forms.zip

310 Bytes
Binary file not shown.

examples/nf_form_video_contact_us.nff

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package-lock.json

Lines changed: 25 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "videomail-for-ninja-forms",
3-
"version": "9.1.1",
3+
"version": "10.0.0",
44
"description": "With this add-on recording videos in Wordpress Ninja Forms comes true.",
55
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
66
"contributors": [
@@ -58,7 +58,7 @@
5858
]
5959
},
6060
"dependencies": {
61-
"videomail-client": "13.6.11"
61+
"videomail-client": "13.6.14"
6262
},
6363
"devDependencies": {
6464
"@babel/core": "7.28.5",

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: michael.heuberger, kbjohnson90
33
Tags: video, email, recorder, sign language
44
Requires at least: 6.0
55
Tested up to: 6.8.3
6-
Stable tag: 9.1.1
6+
Stable tag: 10.0.0
77
Requires PHP: 8.1.0
88
Donate link: https://videomail.io/faq
99
License: CC0-1.0
@@ -52,7 +52,9 @@ Each option is explained well at bottom of this PDF file: [Videomail FAQ](https:
5252
= How does whitelisting work? =
5353
For local development, everything will work right away because the localhost URL is already whitelisted on the videomail server.
5454

55-
But once you deploy your Wordpress site out in the wild, we will have to whitelist your production URL. For that, just submit a [Whitelist Request](https://videomail.io/whitelist). Very easy.
55+
But once you deploy your Wordpress site out in the wild, we will have to whitelist your production URL(s). For that, just submit a [Whitelist Request](https://videomail.io/whitelist). Once your whitelist entry has been approved, you'll get a secret whitelist key. With that key, you can activate this plugin for your site.
56+
57+
Just note that this requires registration on Videomail and that the first three months are free (trial period).
5658

5759
= Is there a live example? =
5860
There is also the live site [videomail.io](https://videomail.io). Have a look and play.
@@ -70,6 +72,10 @@ To get help, just use any of these contacts at [https://binarykitchen.com](https
7072

7173
== Changelog ==
7274

75+
= 10.0.0 (12 Jan 2026) =
76+
**Change:**
77+
* Breaking: renamed site_name to whitelist_key. Retrieve your whitelist key on https://www.videomail.io/whitelist
78+
7379
= 9.1.1 (8 Jan 2026) =
7480
**Improvement**
7581
* Some error messages are more user friendlier, less technical. Sorry :)

src/js/main.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Remember, you can't use any import/require statements here
2-
const PLUGIN_VERSION = "9.1.1";
2+
const PLUGIN_VERSION = "10.0.0";
33

44
// manual switch to have more stuff printed to console
55
let DEBUG = false;
@@ -86,7 +86,10 @@ const VideomailFieldController = Marionette.Object.extend({
8686
Backbone.Radio.DEBUG = Backbone.Radio.DEBUG || verbose;
8787

8888
this.videomailClient = new VideomailClient.VideomailClient({
89-
siteName: this.fieldModel.get("site_name"),
89+
// this.fieldModel.get("site_name") is for backward compatibility which can be
90+
// removed later once all legacy whitelist entries have been migrated.
91+
whitelistKey:
92+
this.fieldModel.get("whitelist_key") || this.fieldModel.get("site_name"),
9093
video: {
9194
limitSeconds: this.fieldModel.get("limit_seconds") || 90,
9295
width: this.fieldModel.get("width") || 320,

src/php/config/videomail-field-settings.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
'help' => __('The audio feature is in beta and needs feedback for improvement. Otherwise leave it disabled and stick to Sign Language, grins')
2323
),
2424

25-
'site_name' => array(
26-
'name' => 'site_name',
25+
'whitelist_key' => array(
26+
'name' => 'whitelist_key',
2727
'type' => 'textbox',
28-
'label' => __('Site Name ID', 'videomail-for-ninja-forms'),
28+
'label' => __('Whitelist key', 'videomail-for-ninja-forms'),
2929
'width' => 'full',
3030
'group' => 'primary',
3131
'value' => 'videomail-for-ninja-forms-local',
32-
'help' => __('A valid site-name ID must be registered with the developer at www.videomail.io. The default one, videomail-for-ninja-forms-local, always works for local development/testing.', 'videomail-for-ninja-forms')
32+
'help' => __('A valid whitelist key must be generated at www.videomail.io/whitelist. The default one, videomail-for-ninja-forms-local, only works for local development/testing.', 'videomail-for-ninja-forms')
3333
),
3434

3535
'email_from' => array(

src/php/videomail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
final class NF_Videomail {
33

44
const NAME = 'Videomail';
5-
const VERSION = '9.1.1';
5+
const VERSION = '10.0.0';
66
const AUTHOR = 'Michael Heuberger + Kyle B. Johnson';
77
const SLUG = 'videomail';
88
const PREFIX = 'NF_Videomail';

target/js/main-min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)