Repositories ::: repository_mytube
Maintained by Justin Hunt
The MyTube repository allows users to record or upload video directly into YouTube, and to select videos directly from the users account for insertion into Moodle.
Latest release:
8 sites
9 fans
Current versions available: 2
** Due to changes in the YouTube API this plugin no longer works as described. There is probably no point in installing it. **

The MyTube repository allows users to record or upload video directly into YouTube, and to select videos directly from the authorised uses uploads for insertion into Moodle.


* Moodle 2.3.1+ (Build 20120816) or newer
* Internet access
* Multimedia plugins filter enabled (to turn YouTube links into YouTube players)
* YouTube API keys (developer key, OAUTH2 client id, OAUTH2 secret).
These are available free of charge from YouTube/Google.

The MyTube repository plugin is contained in the mytube folder. That folder should be placed in the following directory of a Moodle installation:

[PATH TO MOODLE]/repository

Other folders in that directory will include, filesystem, flickr and wikimedia. Once the folder is in place Moodle will be able to install the plugin. Login as the site administrator. Moodle should detect the MyTube repository plugin and present a page with plugin information and the option to proceed to install a new plugin. If Moodle does not automatically direct you to this page, you can go there from the Moodle menu:
Site Administration -> Notifications
Follow the prompts to install the plugin.

Before you can use the repository you will have to enable MyTube and create an instance. Go to:

"Site Administration->Plugins->Repositories->Manage Repositories"

and set the MyTube repository to "enabled and visible". Then a "Mytube" link will appear beneath "Manage Repositories" in the repositories menu. From that link create a repository instance. You can call it any name that you choose. You will need several keys to authorize access to the YouTube API. A YouTube Developers Key can be obtained at .

A Google OAUTH client id and OAUTH secret are also required. More information and explanation on how to get them is here:

There are two authentication methods possible, "master account" and "student account." If using master account authentication, you will need to enter a valid YouTube username and password. The repository instance will then show in the file picker and you can use MyTube.


Screenshot #0


Justin Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • MD shot of me from his iphone4
    Wed, Jun 26, 2013, 10:41 AM
    Hi Justin, thanks for sharing this smile

    Fyi, I've just noticed upon trying to install this via the Add-on installer in 2.5 that there is a 'Missing English language folder' upon plugin validation for some reason. This may be a core bug.

    Installation is fine via the good old filesystem way (which doesn't do that validation).
  • Mon, Mar 20, 2017, 7:02 PM

    Please note, there are reports that this plugin no longer works due to Youtube API changes. If that is correct, could that warning be put as a very first visible thing in the description?

  • Wed, Mar 22, 2017, 7:16 AM
    Sure. I did that now. I think this can be fixed up. But its getting pretty old now.
  • Thu, Apr 6, 2017, 4:50 AM
    Hii Justin

    Very interesting. Is there an actual plugin for moodle 3 with the sae functions ?. I am looking for upload, record videos to a server to be transcoded.
Please login to post comments