Cool Video Gallery
[resolved] Not all media-videos are selectable?! (4 posts)

  1. hmersch
    Posted 3 years ago #


    1st: Thanks for the great plugin! It really is great !!!

    One very small but ...silly issue:
    When have all my videos already included in my WP-Mediathek -- but I can only select 4 of 23 videos for adding to a gallery.
    I think the 4 selectable are the most recent ones ...

    Any idea about this?

    BR - Henning

    PS: Small FRE: rename "Delete" to "remove from gallery" -- the Video is left at least in the Mediathek!


  2. hmersch
    Posted 3 years ago #

    Another FRE: Within the core.php you use exec() just to check ffmpeg availability-. Exec() does make problems and produces "disabled for security reasons"-Messages on a lot of webspace-providers. Maybe you could use something else?

    BR again - henning

  3. Praveen Rajan
    Plugin Author

    Posted 3 years ago #

    @ hmersch

    Issue 1#

    Navigate to cool-video-gallery\lib\core.php. Find function tab_addmedia

    Replace the below line

    $args = array('post_type' => 'attachment', 'post_mime_type' => 'video' );


    $args = array('post_type' => 'attachment', 'post_mime_type' => 'video' , 'numberposts' => -1);

    Media files attached to a gallery are not deleted once removed from Gallery

    exec is required for FFMPEG. I didn't find any alternative for the same.

    Praveen Rajan

  4. hmersch
    Posted 3 years ago #

    Thanks - the numberposts param works great

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cool Video Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.