Moodle plugins directory: YouTube Anywhere | Moodle.org
YouTube Anywhere
YouTube Anywhere allows students and teachers to record directly from webcams and mobile devices, or to upload video files, into YouTube.
YouTube takes care of the storage of the videos and handles all the pesky file conversions and playback stuff.
Care has been taken to give the Moodle administrator control over who can access YouTube Anywhere. Authentication with YouTube can be done using the same Google keys as used in the Google Docs repository.
Requirements
* Moodle 2.4 or greater
* Internet access
* Multimedia plugins filter enabled (to turn YouTube links into YouTube players)
* YouTube API keys (Public API Key, OAUTH2 client id, OAUTH2 client secret).
These are available free of charge from YouTube/Google.
Installation
The YouTube Anywhere plugin is contained in the youtube folder. That folder should be placed in the following directory of a Moodle installation: [PATH TO MOODLE]/lib/editor/tinymce/plugins
Other folders in that directory will include, spellchecker and moodlemedia.
Once the folder is in place Moodle will be able to install the plugin. Login as the site administrator. Moodle should detect the YouTube Anywhere 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. On the last step Moodle will show the settings page for YouTube Anywhere. The settings can be accessed by the administrator at any time from the Moodle menu:
Site Administration -> Plugins -> Text Editors->TinyMCE HTML Editor -> YouTube Anywhere
Post Installation Settings
You will need several keys to authorize access to the YouTube API.
To get this go to:
https://console.developers.google.com
You will need to create a project for your website. Only one is necessary for your Moodle site, and you can use the same keys for Google Docs or Picasa. If you are running either of those with Moodle, you can use the keys you already have. You will need to create and get:
i) a public api key
ii) an oauth2 client id
iii) an oauth2 client secret
This screenshot indicates how your API project on Google might look.
More information on getting Google OAuth2 set up for Moodle is here: https://docs.moodle.org/27/en/Google_OAuth_2.0_setup
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.
More detailed documentation can be found in a PDF file, that should accompany this plugin.
We have put in a new firewall, but the vendor is suggesting its not them.
I can display videos fine via the plugin, but upload just gives me spinning bubbles forever. Are there are logs or anything I can look at to help troubleshoot ??
Just 1 more thing, could you go into more detail about what needs to be commented to get the manual enter URL submission that Roland was referring to. I played aorund commenting in and out lines for about half an hour, but couldnt get the desired behavour.
Thanks,
Dan.
One other user had a similar problem a few weeks ago where it just up and stopped working. After a lot of trying, we just couldn't find the problem. They also used master authentication. There is only the standard apache error logs, and they may not show anything. I sometimes get some information by using chrome developer tools, network tab, and seeing what happens with the request to the youtube server.
I am not sure how better to explain the URL submission thing than I have above. Perhaps send me a "message" with your email address, and I can look at it.
ERROR "NoLinkedYouTubeAccount" is described here:
http://apiblog.youtube.com/2011/10/introducing-google-account-support-and.html
You need to create a channel in your youtube account.
I've just set-up Youtube anywhere with master authentication. I had expected that students would be able to record a video and that the result would be stored on the master account. However, when you start recording a video you are still asked to log in with your own google account - and the result gets stored there.
Is this a known issue, or simply wrong expectation on my part (as in: there's no way to record video's this way without manually checking in with YouTube first)?
thank you
"400. That’s an error.
Malformed request. That’s all we know."
Regards
Phil
We are in the process of migrating our Moodle site away from the county council to a private hosting company as the county service will stop next year. We are running 2.7+ with the formal white template and once the migration is complete and a suitable template is available we will upgrade to the latest 2.9 build. I am on target to complete the migration move before August and once all the pages are on the external provider I anticipate the upgrade to 2.9 would be complete before the end of the year.
Regards
Phil