YouTube Anywhere

TinyMCE (legacy) ::: tinymce_youtube
Maintained by Justin Hunt
YouTube Anywhere enables direct recording and uploading into YouTube from the TinyMCE HTML editor.
Latest release:
31 sites
7 downloads
17 fans
Current versions available: 1

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.

Google Developers Console

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.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Comments

  • Frankie's the name, Moodle's my game!
    Thu, 17 Oct 2013, 5:48 PM
    Hi Justin, I discovered that if I enabled Google's 2-step verification of my Google account, the Youtube Anywhere plugin can no longer be authenticated via Moodle. I have blogged on the solution here: http://moodurian.blogspot.com/2013/05/the-youtube-anywhere-plugin-thanks-to.html. Prior to solving the problem, I had spent more than 3 hours trying to fix the problem! LOL!!
  • Isabelle Langeveld
    Thu, 16 Jan 2014, 11:29 PM
    Hi Justin, I installed the plugin on 2.6 and followed all the instructions for the settings. I am logged in to Google/YouTube. Taking a recording and uploading it directly works fine. But I would also like to play my recording before I decide to upload and this doesn't seem to work. If I click on play it give a few seconds of sound, then breaks off I get the message that the connection is lost. Am I doing something wrong? My recordings were only about 10 seconds...
  • Justin Hunt
    Fri, 17 Jan 2014, 8:12 AM
    Isabelle, I have not encountered this myself. Generally once the connection is made it is pretty reliable. I have a lot of work to do on the plugin over the next few weeks and I will add looking at this to that. If you try from a different location is it better? ie Recording from behind a firewall gives a less reliable connection. But you might find it works better from home. That may not solve the problem, but it would give an idea of where it was coming from.
  • Dan Wheaton
    Fri, 9 May 2014, 12:55 PM
    I ahve been successfully using this all year, setup as a master account, but over the last couple of weeks it has stopped working.
    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 ??
  • Dan Wheaton
    Fri, 9 May 2014, 12:55 PM
    Oh, I should also add, I can successfully upload to the same youtube account outside of moodle.
  • Dan Wheaton
    Fri, 9 May 2014, 2:05 PM
    Hi Justin
    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.
  • Justin Hunt
    Mon, 12 May 2014, 8:35 AM
    Hi 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.
  • Ricardo D
    Fri, 21 Nov 2014, 10:02 PM
    To: Leon hedding

    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.
  • feeling fuzzy
    Tue, 3 Feb 2015, 3:20 AM
    Hi Justin,

    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)?
  • Justin Hunt
    Wed, 4 Feb 2015, 9:09 AM
    Hi Michael. Although it seems neat and simple to use master account authentication. In actual fact it is not so simple. The YouTube recorder does not use master account authentication. The user is required to login to YouTube.
  • Philip Morris
    Fri, 12 June 2015, 4:56 PM
    Hi I have followed the setup documentation as closely as possible but have a couple of errors. On the Upload a Video tab I do not have a box or button to select a file or to browse folder, what I see is the home page of my website see can anyone help with this please?

    thank you
  • Justin Hunt
    Sat, 13 June 2015, 4:44 PM
    That is an iframe in the popup. An error has ocurred and so you don't get the nice upload form that TinyMCE prepares for you in the iframe. Instead you are seeing a Moodle error page. What is that error? Thats the key thing. Note changes at YouTube mean I am not sure how well this plugin is working right now.
  • Philip Morris
    Mon, 15 June 2015, 6:37 PM
    Hi Justin, thanks for your reply, the error I am seeing is as follows,

    "400. That’s an error.
    Malformed request. That’s all we know."

    Regards
    Phil
  • Justin Hunt
    Wed, 17 June 2015, 10:22 AM
    OK. Hmmm. I don't want to leave you in the cold, but this is one of the plugins I am having difficulty finding time to maintain. If its critical for you, please send me a message and we can make a "job" of it. Once PoodLL is all clear for 2.9 (next week) I will do a bit of an audit on the YouTube plugins and see whats up.
  • Philip Morris
    Wed, 17 June 2015, 5:48 PM
    Hi Justin, thank you for your reply, this is certainly no show stopper and there may be other solutions I am unaware of. Perhaps if I explain my reasons for wanting this plugin or something similar. We are a special needs primary school we work in the main with children who have profound and multiple learning difficulties, we also have students with ASD. We really want to engage the pupils parents with their child's education. We have an ample number of iPads in the school, given the nature of the children's difficulties particularly in recording of attainment, the iPad is a useful tool for creating a record of achievement. We don not have an abundance of webspace, certainly not enough to drop large amounts of video on. We would like a plugin that is able to allow teachers to very easily upload and link video created on the Ipads with the children's "Parent Login Areas" on our website. Presently parents are able to log into the website and see classwork and photos of their child's work. All of the existing video on the website is either on Vimeo or Youtube and is always uploaded by me. It is not practical for me to upload all the potential content for each child to the website. This is why the YouTube plugin with a master account looked like an ideal solution for us. Hope that helps,

    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
Please login to post comments