Support » Plugin: Cool Video Gallery » Not all media-videos are selectable?!

  • Resolved hmersch



    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    Plugin Author Praveen Rajan


    @ 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

    Thanks – the numberposts param works great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not all media-videos are selectable?!’ is closed to new replies.