I have developed a simple plugin that generates a thumbnail from the first frame of a video when it is uploaded to the media library. This thumbnail is then displayed as the thumbnail image instead of the default video icon.
However, I’m encountering an issue when trying to achieve the same functionality in the ACF Gallery when uploading videos. I initially assumed that it would access the media library and replicate the same behavior.
Is there a specific step or approach I should follow to replicate the behavior from the media library to the ACF field?
If you require more details, I would be happy to provide you with my code. I appreciate any guidance you can offer.
The ACF Gallery field does not support videos. What are you using to enable this support?
In most cases ACF uses all of the functionality of WP for uploading images and other files. It calls the WP built in media modal used by WP. The only difference is that ACF gets the ID from that window when a file is selected and applies it to the ACF field value.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users