How can I create a custom meta box to add an mp4 video to a page?
You were close. This is similar to something I’d done recently. Here is a rewrite of your code that is working. In addition I’ve changed the word “image” to “video” throughout the function so that it is aptly named. Finally, I’ve changed the orientation in the admin panel to make this meta box appear above … Read more