Home Forums Plugin Support WP User Frontend Pro Enable .wmv File Upload

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sekander Badsha 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #23736

    Post count: 14

    In user frontend, .wmv file format is not supported by default. So to upload videos with .wmv extension, open wpuf-functions.php and go to line 396 and you'll see something like this:

    'video' => array('ext' => 'avi,divx,flv,mov,ogv,mkv,mp4,m4v,divx,mpg,mpeg,mpe', 'label' => __( 'Videos', 'wpuf' )),

    Please change to:

    'video' => array('ext' => 'avi,divx,flv,mov,ogv,mkv,mp4,m4v,divx,mpg,mpeg,mpe,wmv', 'label' => __( 'Videos', 'wpuf' )),


    You can add any more format as you want in this way.


    Sekander Badsha
    Post count: 2067

    Thanks Ben! You're awesome (y)

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Enable .wmv File Upload’ is closed to new replies.