Support

Account

Home Forums Backend Issues (wp-admin) Expand Image field to allow mp4 Reply To: Expand Image field to allow mp4

  • I resolved this by adding mp4 as a allowed filetype.
    You can then filter to show just MP4 as ACF allows you to search by MIME type in the open library windows

    The only code amend is to tweak the backend CSS so the box does not collapse to 30px-vs-30px

    add_action(‘admin_head’, ‘tweak_acf_custom_field_dimensions’);
    function tweak_acf_custom_field_dimensions() {
    echo ‘<style>
    [data-layout=”FIELDNAME”]
    .acf-image-uploader .image-wrap img {
    min-width: 150px;
    min-height: 150px;
    }
    </style>’;
    }