You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ A fork from the official Cloudflare Stream plugin 1.0.5 for WordPress. This fork
5
5
* Take full advantage of Cloudflare Stream's security features.
6
6
* Uses signed URL's / tokens, so video access can be strictly controlled and limited.
7
7
* Uses a limited access API token for API access, eliminating the use of the global API key which presents a huge security risk.
8
+
* Incorporate additional features and new features as they're made available.
8
9
9
10
The Gutenberg Block method of adding videos appears to be broken (in the original plugin also). I've only left code related to the Gutenberg Block in this fork, so as to not break existing content should you switch from the official plugin. Adding new block content will fail as the global API key it's expecting to use is no longer stored in this plugin. Note the Gutenberg Block as it currently exists, does not support signed URL's / tokens.
10
11
@@ -57,16 +58,16 @@ The admin area has been completely revised from the official plugin. Instead of
***Cloudflare** > [domain] > **Overview** > [scroll down to API section on the right and copy the Account ID].
63
+
60
64
### API Token ###
61
65
An API token must be created in your Cloudflare dashboard, for this plugin. For security sake, the token should only be used for this plugin and provide only the permissions necesarry for the plugin to work. I'd recommend setting up Client IP Address Filtering when creating the token too. Where feasible, restrict access to only the IP addresses that need it (eg: your webserver's IP where WordPress is installed).
Must have permission for: **Account - Stream:Edit**
64
68
65
-
### API Account ID ###
66
-
***Cloudflare** > [domain] > **Overview** > [scroll down to API section on the right and copy the Account ID].
67
-
68
69
### Use Signed URLs ###
69
-
When this is checked [x], videos are accessed using a temporary time-limited token, aka signed URL. This alone does not secure your content however. Please see **Securing Video Access** below for further details on how to do that.
70
+
When this is checked [x], videos are accessed using a temporary time-limited token, aka signed URL. This alone does not secure your content however. Please see **[Securing Video Access](#securing-video-access)** below for further details on how to do that.
70
71
71
72
### Signed URL Expiration ###
72
73
When **Use Signed URLs** is checked [x], this setting controls how long any particular token / signed ULR is valid for **in minutes**. The Cloudflare default, is 60 minutes. Generally, you'd want to make sure this is larger than your longest video.
0 commit comments