• Resolved tsjippy

    (@tsjippy)


    Hi all,

    I am trying to include vimeo videos in my WordPress media library.
    I found the proper way to show a vimeo video in the attachment details screen:
    wp.media.view.Attachment.Details.prototype.render.

    I cannot find a way to replace the video.png image shown in the media librarry overview (https://localhost/wp-admin/upload.php).
    How can I do that?
    I can do it the ugly way via document.querySelectorAll('[src*="video.png"]').forEach(el=>el.src= but I rather do it properly.

    Any help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add custom video thumbnails to wp media library’ is closed to new replies.