WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. hmersch
    Member
    Posted 1 year ago #

    Hi!

    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!

    http://wordpress.org/extend/plugins/cool-video-gallery/

  2. hmersch
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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' );

    with

    $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.

    Regards,
    Praveen Rajan

  4. hmersch
    Member
    Posted 1 year ago #

    Thanks - the numberposts param works great

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.