Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am currently evaluating Drupal for a video sharing page where user upload videos found on Youtube and add meta information to it (event, location, etc.). I read on the main page that one thing this module does is to retrieve title and description information from web based media sources.
However, how do I access the information? How do I display it?
Is it possible to make the title and description editable so that users can update it? Or would it be better to do this in my content type (with a media field) and prefill those fields with the values from the media entity?
Best,
Nils
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedFolks in Media: Youtube will help you more i think
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedFor user-editable information, you can add fields to the file type of the files you're adding.
To automatically populate any fields you add using information from the media provider, you'll probably have to write your own integration that maps fields to provider information.
Comment #3
Darren OhDocumentation for retrieving video description: https://developers.google.com/youtube/2.0/developers_guide_protocol_vide...
Comment #5
Al Capwn CreditAttribution: Al Capwn commentedHi guys,
I'm wondering how to grab the description as well. It seems as if it was once possible with this module but is no longer. The video object contains "filename" which is great for the title, but "description" is null.
In the database there's a field_youtube_video_description column but it's not being populated. field_youtube_video_video_data contains serialized XML which does indeed contain the description, so it seems like it shouldn't be too hard to parse out (for someone who knows what they're doing, anyway...).
Any insight is appreciated. I'm still trying to wrap my head around how the media module in general works.