MemberPress is a WordPress membership plugin. Its Rules decide who can open a post or page, and the SmartVideo WordPress plugin serves the video on that page. There’s no MemberPress-specific integration or setting on our side: SmartVideo doesn’t check who’s logged in or whether they’re a paying member, and MemberPress doesn’t need to know SmartVideo is there. This guide covers putting a video on a page your rules already protect, and the places where the two plugins can trip over each other.
If you don’t have a SmartVideo account yet, create one at dash.swarmify.com/signup. Once you’re registered, head back here to get set up.
Step 1: Install the SmartVideo WordPress plugin
- In your WordPress admin, go to Plugins → Add New.
- Search for SmartVideo and install the plugin published by Swarmify.
- Activate the plugin.
- Copy the Swarm CDN Key from the Dashboard tab, the first screen after you log in to your Swarmify Dashboard.
- From the WordPress admin sidebar, click SmartVideo, paste your unique Swarm CDN Key into the field on the Setup tab, and click Enable SmartVideo.
The plugin handles the JavaScript snippet for you, so you don’t need to paste anything into your theme header.
Already have member videos on Vimeo? With the plugin activated and Vimeo auto-conversion on, existing Vimeo embeds convert automatically - no embed code changes required. SmartVideo imports Vimeo videos whose Who can watch setting is Anyone; password-protected and Only me videos stay on Vimeo. Open each page containing a Vimeo embed once while logged in, including the pages your rules protect. See Migrating from Vimeo to SmartVideo.
Step 2: Put the video on a protected page
- Make sure the post or page is covered by a MemberPress rule. In MemberPress → Rules, a rule such as A Single Page, Child Pages of, or Posts Categorized protects it. See MemberPress’s Rules overview.
- Edit the page. In the block editor, add a SmartVideo block by clicking the SmartVideo logo or searching for SmartVideo in the block inserter. In the Classic Editor or a shortcode block, paste the shortcode:
[smartvideo src="https://your-video.example.com/file.mp4"]
- Update the page.
Replace the src value with the direct URL of your hosted MP4, or with the swarmify:// reference of a video in your SmartVideo Library. If your theme or page builder is one we have a native integration for (Divi, Elementor, Beaver Builder, Bricks, Breakdance), see WordPress builders that work best with SmartVideo.
That source URL is written into your page’s HTML, so anyone who can open the page can find it. If keeping the original out of reach matters to you, upload the video to your SmartVideo Library and embed the swarmify:// reference instead.
Optional: protect only the video
If the page should be public but the video members-only, MemberPress has block-level protection. Per MemberPress’s documentation on protecting Gutenberg blocks, you create a rule of the Partial type, then select the block, open Block Settings → Content Protection, pick the rule under Access Rule, and choose what unauthorized visitors see. You can also wrap the video in MemberPress’s Protected Content block.
MemberPress says the Content Protection panel appears on every block. We haven’t tested it on the SmartVideo block, so confirm that a logged-out visitor sees your unauthorized message and not the player.
Step 3: Test as a member and as a visitor
- Open the page as a non-admin test member. MemberPress ignores all of its rules for administrators, so an admin preview shows the video no matter how the rule is set.
- Play the video. A video usually takes about as long as it runs to convert, and longer when our encoders are busy. Until then the player still works from the original.
- Open the page again in a private window, logged out, and confirm your rule’s unauthorized message or redirect appears instead of the video.
What SmartVideo doesn’t do
- It doesn’t check membership. MemberPress gates the page, and whoever can reach the page can play the video on it. SmartVideo has no signed or expiring playback URLs, so a stream URL isn’t tied to a logged-in user.
- A rule on the page doesn’t protect the source file. If your
srcis a file in your WordPress uploads folder, anyone with the file’s address can still request it unless you protect that file separately. - Don’t put a MemberPress file rule on the source file. MemberPress’s Custom URI rules can protect files such as
.mp4, and anyone without access is asked to register or log in. SmartVideo fetches your source file without logging in, and the source must return the video bytes to an anonymous request for as long as the video is embedded. A protected file can’t be fetched. Upload the video to your SmartVideo Library instead.
If the video doesn’t show up
- Content rendered outside
the_content(). MemberPress says its rules mainly protect content output through the WordPressthe_content()function, and some themes and page builders render outside it. That content stays unprotected even with a rule on the post. MemberPress’s fix is a Custom URI rule on the page’s address (MemberPress → Rules → Add New, then pick A Custom URI under Protected Content). Special pages such as your homepage and archives aren’t covered by page rules either. - Video missing for members. Check that the member’s membership matches the rule’s Access Conditions. On MemberPress 1.14 and later, memberships are labeled Products in the WordPress dashboard.
- Player doesn’t load. Make sure Disable SmartVideo on this page isn’t checked for the page. If the player loads on other pages but not this one, open SmartVideo in your WordPress admin sidebar, go to the Settings tab, and set Conditional script loading to Off.
Related articles
- Install SmartVideo on WordPress
- How to upload a video with our WordPress plugin
- Automatic Vimeo conversions
Running a membership site? See the membership site video hosting overview.
Keywords: memberpress, membership, member, paywall, rules, protected content, gated video, wordpress membership plugin, shortcode, [smartvideo]