Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4086

When embedding YouTube video resource import metadata such as license, description etc.

    XMLWordPrintable

    Details

      Description

      When embedding a youtube video in the Video learning resource the system should check for the video license and set the license field in OpenOlat accordingly. 

      The video license can be fetched using the google API: 

       

       

      # Get all the metadata
      https://www.googleapis.com/youtube/v3/videos?id=ey0Wh4zyMFc&part=snippet&key=YOUR API KEY
      => title, description, thubnail (URL for posterframe), ChannelTitle (for author and copyright owner)
       
      # Get video license: : 
      https://www.googleapis.com/youtube/v3/videos?id=ayrbWKSFN88&part=status&key=YOURAPIKEY
      
      => "license": "youtube" or "creativeCommon"

       

      To implement this the "auto-fetch" a youtube API key must be added to the config. 

       

      Desired auto-fill features: 

      • ChannelTitle => Authors
      • title => Title
      • description => Description
      • license => License (https://support.google.com/youtube/answer/2797468)
        • youtube -> "All rights reserved"
        • creativeCommon -> CC BY 
        • ChannelTitle -> License owner
      • thumbnail => Posterframe (download)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 10 minutes
                1d 10m