Conversation
supportPrivate videos show up with a broken thumbnail in the grid. It would be great if these could be hidden via a setting in the plugin. An alternative would be to give these a css class like <li class="private-video"> Then it would be easy to hide then with .private-video {display:none;}
Hi.. this was answered in a previous post. I tried it and it worked for me https://wordpress.org/support/topic/is-it-possible-to-hide-private-videos/ Actual response post link: https://wordpress.org/support/topic/is-it-possible-to-hide-private-videos/#post-15348480 not sure if you’re still having this issue but I fixed this by overriding the templates by putting them into my theme in a ‘yotu’ directory (which also ensure they won’t be overwritten when updating the plugin) and then changing: if ( $yotuwp->is_private($video) ) continue; to if ( $video->status->privacyStatus == 'private' ) continue;
I prefer to avoid adding foreign files to my theme or child theme because if it’s updated they can be lost. I ended up just removing all private videos or using a playlist without private videos.
Hi.. this was answered in a previous post. I tried it and it worked for me https://wordpress.org/support/topic/is-it-possible-to-hide-private-videos/ Actual response post link: https://wordpress.org/support/topic/is-it-possible-to-hide-private-videos/#post-15348480 not sure if you’re still having this issue but I fixed this by overriding the templates by putting them into my theme in a ‘yotu’ directory (which also ensure they won’t be overwritten when updating the plugin) and then changing: if ( $yotuwp->is_private($video) ) continue; to if ( $video->status->privacyStatus == 'private' ) continue;
I prefer to avoid adding foreign files to my theme or child theme because if it’s updated they can be lost. I ended up just removing all private videos or using a playlist without private videos.