Does this need to be controlled by my plugin or would it work with something more general like this plugin? https://ww.wp.xz.cn/plugins/content-control/
Thank you for your reply and your interest but unfortunately such plugins will not work for me because i’m using wp user front end post form and the hidden content should be hidden only upon publish and only to non subscribers. Let me give you an example: A user registers on my website, then he wants to create a new post (using the wp user front end post form) and there he wants to upload a video that must be visible only to him, and to subscribers of my website. Wouldn’t be easier if it could be done through your plugin since it’s only related to videos?
All videos are posts in the WordPress database, so if you can control access to a post, you should be able to control access to a video. It’s not a feature built in to my plugin and I am not working on the plugin right now because of too much day job and too little childcare, so other plugins are your best option right now.