• Resolved Jader Silva

    (@jadersilva)


    Hello my friends,

    I hope are you well.

    I need to allow the user to embed a video “.mov” in a post. By default WordPress does not allow, so I googled and found a code snippet.

    /**
    * Add support for the QuickTime (.mov) video format.
    */
    add_filter( ‘wp_video_extensions’,
    function( $exts ) {
    $exts[] = ‘mov’;
    return $exts;
    }
    );

    The code snippet allows the user to embed a video by “Create video playlist” functionality, but does not allow embed a video by “insert media” functionality (only for download).

    I know I can create a video list with just one video, but I would like all the features working well.

    Can you help-me?

    Regards.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Help with embed .mov videos’ is closed to new replies.