• Hi there, great plugin! I’ve just come across it and have had some fun playing around with the settings, but I haven’t managed to come up with a solution in my case so far!.

    It’s not ffmeg, all good there – it’s a compatibility issue. I’m using Mediapress for Buddypress which creates media albums and allows users to upload videos to their profile. (It’s the best reviewed buddypress gallery plugin). I had some issues using videopack – what happens is the thumbnails generated by your plugin aren’t attached to the video that was uploaded by the upload tool Mediapress adds for users at their profile, and the video remains displayed with the default image from Mediapress from when it was uploaded.

    Additional:
    – Videopack used wp_generate_attachment_metadata where Mediapress uses mpp_generate_attachment_metadata.

    – Media press uploads as below:
    https://site.com/wp-content/uploads/mediapress/members/1/5042/VID_20231016_202117.mp4

    – In the Videopack queue it tells me:
    Replace original with 480p H.264 again?
    Encoding Complete

     360p H.264 Encoding Complete
    Delete Permanently

    There is an option to encode and also to pick a thumb in the admin screen for the video attachment when I upload with Mediapress, I was able to generate thumbnails and save my chosen thumb picked from the video, and that’s saved in there fine, but it’s still not displaying.

    I think this template here’s where Mediapress runs the function that adds the default video image that I can’t get Videopack’s thumbnails to override front end: https://github.com/buddydev/mediapress/blob/master/core/media/mpp-media-cover-template.php

    I’d love to use videopack, has this come up before, or something similar? I read back through support but couldn’t find anything, so I wondered if anyone’s asked, or whether you could you think of a function / workaround / patch that might help solve this issue?
    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Kir 2012

    (@kir-2012)

    I just wanted to add a bit about Buddypress in case you’re not familiar and it’s useful, it’s a community site tool which allows you to offer front end user profiles to members at your website. In it’s most basic form, out of the box it only offers a text editor so that you can allow your users to share messages from their profile, but there are a couple of plugins (like Mediapress) which allow you to offer your users the opportunity to share their images and videos from their profile also in a custom post type ‘activity’ post. So each time the user makes a post using the buddypress post form at their profile it creates an activity post (for instance displaying their video) which is displayed on their public feed to share with other users.

    Plugin Author Kyle Gilman

    (@kylegilman)

    Thanks for your thorough research on this question. I’ve created a GitHub Issue to track my progress. It might be relatively simple.

    My general rule of thumb has always been that Videopack works with the WordPress Media Library and Videopack-generated video players. I don’t support any custom video implementations. I know Buddypress is very popular, but I’m way behind on developing new features for Videopack (for example, supporting the Block Editor that was released five years ago!)

    Thread Starter Kir 2012

    (@kir-2012)

    Hi there thanks so much, in the meanwhile I think I’ve come up with a really simple workaround with a bit of help, what’s the best way to pull up the thumbnail that is created with videopack when a video is uploaded, with this code:

    		
    function custom_thumbnail($src, $media_id, $media_type) {
        if ($media_type == "video") {
            return "https://example.com/image/custom-video-thumbnail.png";
        }
        
        return $src;
    }
    

    Kind regards

    Plugin Author Kyle Gilman

    (@kylegilman)

    I think get_the_post_thumbnail_url( $media_id ); would work there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mediapress plugin for upload of videos and videopack for transcode’ is closed to new replies.