• Good Day, I’m looking for a way to disable html5 (MP4) upload so that instructors can’t upload .mp4 files to the server.
    I still wish to have the other options such as youtube/vimeo/embedded in place. is there a way I can just hide HTML5 from the dropdown lists? if so, where?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @md40men

    You can disable HTML5(MP4) video upload option by edit this file. But as it is not in templates, future updates will erase these changes. The path will be /wp-content/plugins/tutor/views/metabox/video-metabox.php line no 38 (Remove this option)

    You can also remove HTML5(MP4) video upload option by custom CSS:

    li#select2-videosource-wj-result-0dlx-html5 {
        display: none;
    }

    Put those CSS lines into WordPress Dashboard->Appearance->Customize->Additional CSS
    I hope this will help

    Thread Starter in_jail_out_soon

    (@md40men)

    Hi @probillals

    Thank you for the solution – just another question regarding this, I’m thinking of buying a plugin that enables users to upload their videos / content directly to one-drive instead of media library – as tutorlms was designed to do when uploading .mp4 files – The plugin basically overrides / points / modifies media library to one drive, if the instructor uploads files via HTML5 option using tutorlms – will the files still try to find media library or accept that the destination has been changed that takes uploads to one-drive instead? – (Still trying to find out if files are first uploaded to media library then automatically moved to one drive, once moved it will be deleted on media library)

    If this is going to give a problem I will have to build a separate uploading page and use the solution you provided above.

    Thread Starter in_jail_out_soon

    (@md40men)

    update from developer: The plugin doesn’t integrate into the WordPress Media Library, so nothing gets stored there and you can’t access anything on OneDrive via the Media Library. The plugin is completely separate from that and it will directly send the files to OneDrive and can display the content stored on OneDrive.

    Is this tutorlms can be modified to should instructors use the option to upload files, or would it just be easier to disable HTML 5 uploads (your solution) and use the plugin as a work around on a different page?

    Hello @md40men

    As I can say, You can just disable HTML5 uploads which I gave you earlier and use the plugin as a workaround on a different page. As you mentioned, The plugin doesn’t integrate into the WordPress Media Library, so nothing gets stored there and you can’t access anything on OneDrive via the Media Library. The plugin is completely separate from that and it will directly send the files to OneDrive and can display the content stored on OneDrive.
    So, disabling HTML5 uploads can be the possible solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable html upload’ is closed to new replies.