• Currently, Brightcove Media modal fetches the latest 100 videos in the modal in one request by default.

    In order to optimize the performance of Brightcove API calls, we wanted to fetch lesser posts with a support of paginated query, so that the next paged request should trigger with next set of results when user clicks on load more videos button or scrolls to the end whichever way possible.

    Currently, we can reduce the posts per page using the filter?brightcove_posts_per_page, but we can’t fetch the results from the next page.

    We have explored the codebase and found out that the implementation for paginated results is added on JS scroll event, but for some reason the event callback is not getting called.

    This is the file where we found the event: https://github.com/10up/brightcove-video-connect/blob/develop/assets/js/brightcove-admin.js#L1533

    Also we have created GH issue 2 weeks before here, but we haven’t received a reply yet. Please check this and let us know.

    Thanks and Regards,
    Shreyas Ikhar

  • You must be logged in to reply to this topic.