One among my websites is used as a private diary with >5000 movies uploaded inside the media library.
Every put up makes use of the next shortcode, disabling pre-load and assigning a handbook poster. This reduces server load and velocity for the default preload=’metadata’, ought to the put up include a number of movies.
The posters are manually uploaded.
This works nice for posts, nonetheless; ought to I view movies through their tags by way of the archive, it shows through the default settings as present in /wp-includes/media.php
which makes use of the usual preload=’metadata’.
My query:
"Is there a way to set the default ‘poster’ to "/wp-content/Photos/Posters/filename.mp4.jpg"
So, taking the identify of the video, prepending with "/wp-content/Pictures/Posters/" after which appending with ".jpg" ?
Any assist could be vastly appreciated.