Title: Simple Private Video
Author: sumapress
Published: <strong>October 31, 2019</strong>
Last modified: May 21, 2020

---

Search plugins

![](https://ps.w.org/simple-private-video/assets/banner-772x250.png?rev=2183986)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/simple-private-video/assets/icon-256x256.png?rev=2183986)

# Simple Private Video

 By [sumapress](https://profiles.wordpress.org/sumapress/)

[Download](https://downloads.wordpress.org/plugin/simple-private-video.zip)

 * [Details](https://pcd.wordpress.org/plugins/simple-private-video/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/simple-private-video/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/simple-private-video/#installation)
 * [Development](https://pcd.wordpress.org/plugins/simple-private-video/#developers)

 [Support](https://wordpress.org/support/plugin/simple-private-video/)

## Description

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:

 * Setup your own main color to make the video player more corporate and according
   to the web design.
 * Setup a preload image to show before the video is playing.
 * Add custom content to show when video it is not allowed in case of not logged
   users.

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.

### Control who can watch your videos

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`.

### This is a solution for self hosting

**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. 🙂

### Feedback and support

I would be happy to receive your feedback to improve this plugin.
 Please let me
know through [support forums](https://wordpress.org/support/plugin/simple-private-video)
if you like it and please be sure to [leave a review.](https://wordpress.org/support/plugin/simple-private-video/reviews/#new-post).

Form more information you can visit the page [SumaPress](https://sumapress.com/)
or even visit [Github of Simple Private Video](https://github.com/SumaPress/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!

## Screenshots

 * [[
 * Setup your videos with the video block on WordPress editor.
 * [[
 * Video player with your colors and many options available to users.

## Blocks

This plugin provides 1 block.

 *   Simple Private Video

## Installation

 1. Upload `simple-private-video.php` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Search into post or page the block `Private Video - self hosting` into `SumaPress`
    category.

## FAQ

### What can I do with this plugin?

Upload and show private videos with a block only to logged users. 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.

### I no longer need Vimeo or Amazon S3?

It depends on your needs and your particular situation. Video sharing is not cheap
and if you use your own server with this plugin to serve video you have to make 
your own accounts and see what is the best for you and study the costs of your own
hosting around bandwidth spending with videos. Maybe you need a VPS and it is not
good idea work on shared hosting which ends up blocking you.

### How can I setup this plugin?

All configuration is within each block on WordPress editor.

### How can I do global setup?

We can avoid add an options page to the plugin to only put there default block configuration,
because of is already possible do that with native WordPress Block Editor.

Just add a new Private Video Block and set your favourite configuration with colors
and alternative content and then “Add to Reusable Blocks” with a custom name. In
this way you can set multiple default video blocks.

Whenever you want to add new Private Video Block just select your custom video block
and then “Convert to Regular Block” to allow put inside the new video with all your
previus default configuration already set.

### Is this plugin with self hosting video for everyone?

Only use this plugin if you know well what kind of hosting you have and what are
your expenses and limitations to use it as storage and video visualizations. Also
only after comparing other options like Vimeo, Youtube, Amazon S3, etc and determining
that this plugin is the best option for you.

### Is it really true that users will not be able to download the videos?

If they insist they will get it as with any other solution, but it has been raised
to be quite complicated especially for most people.

## Reviews

![](https://secure.gravatar.com/avatar/b520826c6ae4f54d949723318f70f291ee382c1fe80dd6d68601404edd5d13f7?
s=60&d=retro&r=g)

### 󠀁[Excelente justo lo que estaba buscando 😀](https://wordpress.org/support/topic/excelente-justo-lo-que-estaba-buscando-d/)󠁿

 [federicorojas1100](https://profiles.wordpress.org/federicorojas1100/) January 
8, 2021

Aguardo la compatibilidad con 5.6 para poder actualizar el nucleo de WordPress, 
gracias!

![](https://secure.gravatar.com/avatar/a5ce95962f7fd6d98d088308b7ad6c123bc9ee0058f30c218d76a6db71d4eab9?
s=60&d=retro&r=g)

### 󠀁[Un plugin que hace lo que tiene que hacer, maravilloso](https://wordpress.org/support/topic/un-plugin-que-hace-lo-que-tiene-que-hacer-maravilloso/)󠁿

 [Jaime Gármar](https://profiles.wordpress.org/jaimegarmar/) December 27, 2020

Un plugin que hace lo que tiene que hacer, maravilloso. Necesitaba solo esta funcionalidad,
nada más, y justo encontré este y encima de un desarrollador colega de la comunidad
España!!! Olé

![](https://secure.gravatar.com/avatar/523169114ac0556291682c728e9eac454892a784f1a6ef25d244c607ae05fc6a?
s=60&d=retro&r=g)

### 󠀁[simplemente genial](https://wordpress.org/support/topic/simplemente-genial-4/)󠁿

 [Carlos Gutierrez Castro](https://profiles.wordpress.org/carlosgutierrez/) November
1, 2019 1 reply

El plugin es simplemente genial, hace lo que tiene que hacer a la perfección. La
interfaz de usuario es muy limpia y totalmente integrada con el diseño de WordPress.
Es una solución perfecta para los que quieren ofrecer videos privados en tu propio
WordPress, sin tener que depender de otras plataformas. Con este plugin los videos
los alojas tu y se encuentran completamente seguros, evitando que se puedan compartir
o descargar. El plugin es muy fácil de utilizar, solo tienes activar y añadir el
bloque de video privado. Puedes personalizar la imagen de portada, controles a mostrar
y colores para integrarlos con tu diseño. Sin duda un magnífico plugin.

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/simple-private-video/reviews/)

## Contributors & Developers

“Simple Private Video” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ sumapress ](https://profiles.wordpress.org/sumapress/)
 *   [ pablocianes ](https://profiles.wordpress.org/pablocianes/)

“Simple Private Video” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/simple-private-video/contributors)
for their contributions.

[Translate “Simple Private Video” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-private-video)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/simple-private-video/),
check out the [SVN repository](https://plugins.svn.wordpress.org/simple-private-video/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/simple-private-video/)
by [RSS](https://plugins.trac.wordpress.org/log/simple-private-video/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.2.1

 * Fix fatal error with new version of Woo

#### 0.2.0

 * First beta publicly available version.

## Meta

 *  Version **0.2.1**
 *  Last updated **6 years ago**
 *  Active installations **100+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.4.19**
 *  PHP version ** 7.0 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/simple-private-video/), [Spanish (Chile)](https://cl.wordpress.org/plugins/simple-private-video/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/simple-private-video/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/simple-private-video)
 * Tags
 * [beta](https://pcd.wordpress.org/plugins/tags/beta/)[video](https://pcd.wordpress.org/plugins/tags/video/)
   [video block](https://pcd.wordpress.org/plugins/tags/video-block/)[video player](https://pcd.wordpress.org/plugins/tags/video-player/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/simple-private-video/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/simple-private-video/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/simple-private-video/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/simple-private-video/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/simple-private-video/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/simple-private-video/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/simple-private-video/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-private-video/reviews/)

## Contributors

 *   [ sumapress ](https://profiles.wordpress.org/sumapress/)
 *   [ pablocianes ](https://profiles.wordpress.org/pablocianes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/simple-private-video/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://sumapress.com/)