Select Moodle version:

Assignment submissions : YouTube submission

assignsubmission_youtube
The YouTube assignment submission allows students to record or upload videos directly into YouTube from within an assignment. The video file is stored on YouTube, though it is accessible from Moodle. This allows students to submit long videos, videos in different formats and to use almost any PC or device.
Maintained by: Picture of Justin Hunt Justin Hunt

The YouTube assignment submission plugin is for the Moodle assignment (2.3  and above). It allows teachers to set an assignment, for which a submission can be a video. The video is uploaded from the student's pc/device directly to YouTube. The video file is stored on YouTube, though it is accessible from Moodle.

Installation
The YouTube assignment is contained in the "youtube" folder. That folder should be placed in the following directory of a Moodle installation:
[PATH TO MOODLE]/mod/assign/submission
Other folders in that directory will include, "file" and "onlinetext"

Once the folder is in place, Moodle will be able to install the plugin. First login as the site administrator. Moodle should detect the YouTube assignment and present a page with plugin information and the unavoidable 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 the YouTube assignment. The settings can be accessed by the administrator at any time from the Moodle menu:
Site Administration -> Plugins -> Assignment Plugins->Submission Plugins -> YouTube Submission

Configuring YouTube Authentication Settings

If you plan to use the video upload form to submit videos to YouTube, then you will need to configure authentication. (For creating videos by webcam, there is no need to set up authentication systems in Moodle, but the student will be required to login to their Google/YouTube account. For linking to existing YouTube videos, no authentication is necessary at all.)

On the YouTube submission's settings page you must fill in the YouTube developers key and the authentication settings. You can get a free developer key here:
https://code.google.com/apis/youtube/dashboard

If authenticating via a master YouTube account, you need to set the YouTube master account user name and password. If authenticating student by student, you will need to enter your Google OAuth2 credentials. These are the same credentials you would use for the Google Docs repository and the Google Docs portfolio. Information on these can be found here:
http://docs.moodle.org/24/en/Google_OAuth_2.0_setup

The YouTube master account method is simpler to setup, and simple for students because they don't need to login. But there are very good reasons for using OAuth2 over using a YouTube master account. They are explained here.
http://apiblog.youtube.com/2012/02/video-uploads-from-your-sites-community.html

 

Creating an Assignment that uses the YouTube Submission
To use the YouTube assignment submission, first create a new assignment. Note that there are two different assignments in Moodle. The old assignment is now called Assignment (2.2) because it was superceded in version 2.3, though it can still be used. The new assignment is sometimes called the 2.3 assignment. The YouTube submission only works on the new assignment, and so can only be used with Moodle 2.3 or greater. More information on the Moodle Assignment can be found here:
http://docs.moodle.org/23/en/Assignment_module

To create the assignment, first login as a teacher or administrator and turn on editing mode. Then from the appropriate course section click the "add an activity or resource" link. From the popup menu choose "Assignment" (not Assignment 2.2 or its sub menu options) and click the "add" button.

You will need to enter a name and description for the new assignment. Most of the other settings are optional and depend on the submission type(s) you enable for the assignment. It is possible to enable more than one submission type per assignment. For example, an assignment could accept both a YouTube video and a text outline of the contents of the video. The YouTube submission default settings are those set on the main settings page for the plugin.

Submitting a Video
When a student displays the assignment they will be presented first with a summary of the assignment and a button to "Add Submission."

After clicking "Add Submission" a list of forms will be displayed, one for each of the enabled submission types. In the case of the YouTube submission there will be a set of horizontal tabs, one for each of the enabled YouTube submission methods(upload, record, link). The operation of each of these forms is different.

The Upload Video Form
The upload form allows the student to choose a video file from their computer/device and upload to YouTube. So it is simply a matter of clicking the "choose" button, followed by the "upload" button. When the file arrives at YouTube, it is titled with the name of the assignment and the user that submitted it. It is also tagged as "unlisted." This means that it will not display in YouTube searches, but that anyone who knows the unlisted URL of the video, can see it. There will probably be a delay of a minute or sometimes several minutes before the submitted video is ready to be played back. So there is usually no cause for concern if the YouTube player reports that the video is unavailable. If however the video is a duplicate upload, or in some way violates the YouTube terms of service, it may not appear and a message to that effect will display somewhere.


The Record Video Form
This form allows the student to record a video directly from their webcam, and to upload that video to YouTube.
Unlike the upload form, the submitted video is NOT stored in the YouTube master account. Each student will be presented with a Google login form before they can begin recording. The submitted video is stored in the student's YouTube account.
To display the recording widget, the student will first need to click the "Click to Record a Video" button.
After the widget displays the student will need to both login to Google and to grant permission to the recording widget to access the device/pc camera and microphone. Submissions from the record form are also tagged "unlisted" and titled with the assignment name and user's full name.

The Submit YouTube URL Form
This form allows the student to enter a YouTube URL directly as their submission.
It is designed to allow students who have uploaded/recorded videos successfully but have somehow cleared their submission , to “re-link” that video with their assignment. This situation might also occur if a user uploads a video, but forgets to press the assignment's "save changes" button.

Grading Assignments
The grading and managing of assignments occurs outside the scope of the YouTube submission plugin. The YouTube submission plugin will simply display the YouTube player (or link) in the appropriate location. The Moodle assignment has a standard interface for grading that applies to all submissions.

Credits

This plugin was funded, and contributed back to the Moodle community, by the Apostolic Network of Global Awakening ( http://www.globalawakening.com ). It was written by and is maintained by Justin Hunt ( http://www.poodll.com )


Justin Hunt
http://www.poodll.com
poodllsupport@gmail.com

Screenshots

screenshot
screenshot
screenshot

Contributors

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

Comments RSS

Show comments
  • Capt. Moodle
    Mon, Mar 11, 2013, 2:50 PM
    FYI - When adding an assignment I receive the following: Strict Standards: Declaration of assign_submission_youtube::get_files() should be compatible with assign_plugin::get_files(stdClass $submissionorgrade, stdClass $user) in /home/arborrow/NetBeansProjects/m24/mod/assign/submission/youtube/locallib.php on line 704
  • Capt. Moodle
    Mon, Mar 11, 2013, 2:58 PM
    Justin - I have reviewed the plugin and am going to approve it. When you get a moment, it would be helpful if you could provide a tracker and documentation url under Useful links. The README has plenty of great information but I think it would be good to have a Moodle Docs page as well if you are able. Peace - Anthony
  • Picture of Justin Hunt
    Wed, Mar 13, 2013, 8:00 AM
    Thanks Anthony. I made a few changes, and that warning message should no longer appear.
  • Picture of Roland Sherwood
    Tue, Jun 11, 2013, 6:20 PM
    Many thanks for producing this, Justin. One quick query: is it possible to apply a patch so that this plugin can be used on a (2.4) site where YouTube Anywhere is also installed? Currently, everything installs fine, but when a tutor tries to add a new assignment the following error is produced:

    Fatal error: Cannot redeclare class youtube_oauth in /var/www/moodle/lib/editor/tinymce/plugins/youtube/youtubelib.php on line 629

    Of course, I realise that students could submit videos via an online text style assignment with YouTube Anywhere - but we'd much prefer it if there was a dedicated YouTube submission type available instead.

    Many thanks for any assistance you can offer.
  • George
    Tue, Jul 30, 2013, 1:00 AM
    At "Upload a video" tab I get an error message:
    NoLinkedYouTubeAccount
    Error 401
    what's wrong ?
    Other two tabs "Record a video" and :submit a YouTube URL" work fine on moodle 2.5.1
  • Picture of Justin Hunt
    Tue, Jul 30, 2013, 11:55 PM
    Sorry I missed Rolands comment. That should be fixed now in YouTube anywhere. I have a new version of the YouTube Assignment Submission almost ready to go which should bring it in line with the other YouTube mods even more

    George, I think you are probably not using a valid YouTube id/password combo. Can you login to YouTube.com using those? If not that wlil be the problem.
  • Picture of Leon hedding
    Wed, Aug 14, 2013, 8:22 PM
    Justin, I am getting George's error in YouTube Anywhere when I try to list videos. I am using a valid YouTube id/password.
  • Picture of Administrador de Tveuropa
    Mon, Sep 9, 2013, 1:05 AM
    Hello, Justin. I have just installed Youtube Submission and I have the same problem as George. I am using the right admin id (it's an email adress) and password, the same I use to log succesfully into my youtube account. I use the master account.
  • Picture of Administrador de Tveuropa
    Mon, Sep 9, 2013, 1:43 AM
    I have other two questions about its utilization:
    1) How to allow the student to submit more than one video?
    2) How can the student change the submitted video?
    Thanks
  • Picture of Justin Hunt
    Fri, Sep 13, 2013, 5:21 AM
    Sorry, I have been very busy in another world, but I will try and look at that "notlinkedyoutubeaccount error soon.

    You can't submit more than one video currently. The student can just submit another video just as they would edit any assignment submission. They would just click the "edit submission"(I think) button.
  • Picture of Moon Man
    Thu, Jan 30, 2014, 9:35 PM
    I am getting this error on top of almost every page, and it's keeping me from grading my students:

    Strict Standards: Declaration of assign_submission_youtube::get_files() should be compatible with assign_plugin::get_files(stdClass $submissionorgrade, stdClass $user) in /home/starman/public_html/school/mod/assign/submission/youtube/locallib.php on line 715

    Any way to fix this?
  • Picture of Justin Hunt
    Fri, Jan 31, 2014, 2:59 PM
    Can you tell me your Moodle version so that I can check what is up? And also, make sure your version of the Youtube Submission is the most recent. It has not changed in a while.
  • Picture of Moon Man
    Tue, Feb 4, 2014, 5:38 PM
    Hi, here's the version I am on: Moodle 2.5.2 (Build: 20130909)

    And yes, I am using the recent version of youtube submission.

    Thank you for your help!
  • Picture of Moon Man
    Tue, Feb 4, 2014, 5:41 PM
    Our Youtube Submission plugin version is 2013051100.
  • My picture
    Hello again, Justin,

    After testing Poodll online for Moodle 2.2, we have noticed that the quality of the recorded videos is not very good and trying to improve quality doesn't work very well as it stops video from working
    I am going to upgrade to Moodle 2.5.5 over the summer but we need a video assignment for the May presentation and I was wondering if there is an easy way of making this assignment worked with Moodle 2.2 or it is too much re-coding.

    Thank you very much for your advise
Please login to post comments