We'll create fresh WordPress site with Simple Private Video installed. You have 20 minutes to test the plugin after that site we'll be deleted.
A simple and fast way to host your own videos and show them in private mode without being able to download them and without external services dependencies like Vimeo, YouTube, etc.
Attention! experimental beta phase plugin
Great news for course creators who continually hacked its contents!
With the video block of this plugin you can upload your videos to a private folder on your own hosting and share them in your web only with your logged visitors.
The block has several configuration options:
In other hand the video player allow users to setup: video playback speed, audio volume, fullscreen and show whit PiP(Picture-in-Picture) ( the video is contained in a separate mini window that is always on top of other windows. This window stays visible even when the browser is not visible.)
There is no reference to external services such as YouTube or Vimeo since you use your own hosting and your own video player. With the advantages and disadvantages that this implies like you need a good hosting for your website if you don’t want depends on external services.
Because of you use your own video player, the plugin does everything possible so that your videos cannot be downloaded even if they are your own customers who are watching the videos the ones who also try to do download them. If they try do it they will have a screen warning like:
Hello username! this access is not allowed, so the administrator of MyDomain.com will be informed :(
The plugin works sharing videos like a pseudo video stream to avoid users to see the video url to download it, because of the are not public url and the browser cant show the video without the php rendering and authorizations from the backend.
By default the video is show only to logged user, but you can set more restriction with custom configuration by the filter: spv-show-private-video
Example with Restric Content Pro:
if ( function_exists( 'rcp_user_has_active_membership' ) ) {
add_filter( 'spv-show-private-video', function( $show_private_video, $attributes ){
return rcp_user_has_active_membership();
}, 10, 2 );
}
Like all WordPress filters remember to always return something in this case true
or false
.
The first variable $show_private_video
is true
only in case the current user is logged on your website. The video it will only be seen in the case you return true
and for that you can use the functions of others plugins for restrict content like the above example with RCP.
The second variable $attributes
is an array with all data about the configuration of each video block with these keys: color, blockAlignment, videoID, imageID, imageUrl, content
.
IMPORTANT! all videos are save it in your hosting, so keep it in mind for disk space and bandwidth.
Maybe a shared hosting it is not a good idea to work in this way, especially if you will have many visualizations.
Please values if it is not better to use a VPS or even look for another type of solution instead of this plugin
To protect the folder with the videos, the plugin adds in its activation an .htaccess
file in / wp-content / uploads / spv-private /
Be carefoul with that because of it will only work with Apache and depending on the configuration of your hosting.
Nobody must to know direct url of each video but if your hosting ignoring .htaccess file and show the videos please talk to the manager of your hosting to increase security and protect videos folder in the best way.
Please read carefully all Frequently Asked Questions at the bottom of this page before using this plugin in production, and think if it is your best option to share videos on your web. 🙂
I would be happy to receive your feedback to improve this plugin.
Please let me know through support forums if you like it and please be sure to leave a review..
Form more information you can visit the page SumaPress or even visit Github of Simple Private Video where you can find all the development code of this plugin.
I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!