Support » Plugin: Video Gallery - YouTube Playlist, Channel Gallery by YotuWP » is it possible to hide private videos?

  • dokustreams

    (@dokustreams)


    when i add a playlist with private videos in it they always make the playlist ‘unpostable’ as the private videos show up too. Is there a way to prevent this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dokustreams

    (@dokustreams)

    i tried editing ‘templates/grid.php’, ‘templates/list.php’ and ‘templates/mix.php’ myself, but had to notice that the grid template already contains a line to cut out private videos as far as i understand:

    if ( $yotuwp->is_private($video) ) continue;

    no matter how i tried to add or change this for use in any of the three templates, private videos always still kept showing up despite the ‘continue’-command should skip to the next iteration of the video-items-loop.

    did anybody else have a look at this and can help to explain?

    Thread Starter dokustreams

    (@dokustreams)

    🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.