Repositories: Personal YouTube

repository_personalyoutube
Maintained by RobertoRoberto Pinna
Moodle repository plugin used to browse personal YouTube channels in order to publish public, unlisted and private videos.
247 sites
135 downloads
20 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8

Personal YouTube repository

Moodle repository plugin used to browse personal YouTube channels in order to publish public, unlisted and private videos.

This plugin take the starting idea from Justin Hunt's MyTube plugin, now outdated by YouTube updates.

The code is a mash up of Moodle Google Drive and Moodle YouTube repositories for easy maintenance.

Requirements

Installation

  • Download zip file
  • Copy it in moodle/repository directory
  • Unzip it and remove zip file
  • Log in as administrator to your moodle site
  • Follow online installation procedure
  • Set as Enabled and Visible the Personal YouTube repository in Administration Block -> Site Administration -> Plugins -> Repositories -> Manage repositories
  • Fill Oauth ClientID and secret in configuration page.

Screenshots

Screenshot #0

Contributors

Roberto
Roberto Pinna (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, Jan 24, 2017, 10:20 PM
    Approval issue created: CONTRIB-6720
  • Picture of Stephane Boucher
    Fri, Jun 9, 2017, 9:15 AM
    Hello,

    I need some help to really understand the purpose of this plugin because, it doesn't seem to work. I use this plugin to display YouTube private videos on Moodle. I use Moodle 3.3, version 3.3 of Personal Youtube, configured Oauth2 on Moodle with a system account and YouTube API enabled on Google Console. Whenever a want to display a private videos, Personal Youtube displays a list of all my videos. I choose one and save. Google Console shows requests on YouTube. Then, I disconnect from Moodle and try as a student. The video always shows as private. I thought that Personal Youtube was using OAuth2 to connect to system account and display private videos on YouTube for all students. Since it doesn't seem to work, I begin to wonder that I may have understood incorrectly the purpose of Personal Youtube. Am I wrong or is it incorrectly configured ? A bug maybe ? I would really appreciate some help.

    Thanks in advance,

    Steven
  • Roberto
    Fri, Jun 9, 2017, 4:04 PM
    Hello,
    Personal Youtube is a repository plugin so it let you browse personal YouTube channel and publish link in moodle.
    Videos displaying in moodle pages is done from Multimedia filter plugin that replace links with the youtube player.
    The videos are just linked so access to them still managed from YouTube site, I don't think we can use OAuth2 system account to display video because seems that YouTube does not support it.
    For private videos you need to authorize every single user to view each video or, if your organization use GSuite, you can authorize all your organization users with a single click; otherwise you can set videos as unlisted.
    I still check if there is way to use system account for displaying videos.

    Cheers,
    Roberto.
  • Picture of Stephane Boucher
    Sat, Jun 10, 2017, 8:18 AM
    Thank you very much for these explanations Roberto. It is very appreciated.
  • Roberto
    Mon, Sep 11, 2017, 4:34 PM
    Sorry Tony but I was offline, on vacancy, and I miss the message.
    ClientID and Secret is used to define the moodle plugin as a Google Web Application but, as for any apps, when you need to access to private data, user authentication is need.
    This works as for any other Moodle plugin that take data from Google Services.

    HTH,
    Roberto.
  • Picture of Cristina Paulon
    Fri, Aug 31, 2018, 11:36 PM
    Hello,

    I've just installed the plugin on a 3.5.1+ and everything worked just fine. However, it looks like the plugin is not GDPR compliant, as an alert is showing on the Plugin privacy compliance registry stating that the plugin "does not implement the Moodle privacy API". So I was wondering if you're going to fix it anytime soon as it does use personal data.

    Thank you
    Cristina
  • Roberto
    Wed, Sep 5, 2018, 5:12 PM
    Hello Cristina,
    I fixed it.

    Cheers,
    Roberto
  • Picture of GRUPO ACTCON
    Tue, May 5, 2020, 3:32 AM
    Hello Roberto

    My name is Adson Junio. I am using your personal Youtube plug-in and need support.

    I would like to know if the plug-in supports oauth2 for the whole system, because I don't have a G-Suite and my videos must be private. As an administrator, agree, it passes because the account was linked, however, for students,
    I can't get past the player's view.

    Thank you very much for the attention
  • Picture of Stefan Schoch
    Wed, May 6, 2020, 11:22 PM
    Hi there,
    I used the plugin for a while and it worked well.
    After one of the moste recent updates (running Moodle 3.8.2+ (Build: 20200417) now), the plugin doesn't work. Since I have two YouTube accounts, I had to choose the right account when I wanted to insert a video. Now - after the update - the popup-windows pops up but closes immediately, the window where I could choose the video is empty.

    How can I get help?

    Stefan
  • Roberto
    Tue, Jul 21, 2020, 7:23 PM
    Hi Stefan,
    I checked your issue, unfortunately I can't help you.
    It does not depends by Personal YouTube plugin.
    Probably Google changes something in OAuth process or something must to be updated in Moodle libraries.
    This happens when you select a YouTube user personal channel, with YouTube domain users it still works.
    You need to remove authorisation to your moodle site in your personal Google account settings in order to get back the user selection window.
Please login to post comments