Postponed
Project:
Embedded Media Field
Version:
6.x-1.9
Component:
Embedded Video Field
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 May 2009 at 06:04 UTC
Updated:
10 May 2011 at 07:48 UTC
I would like to be able to retrieve the video title from youtube and display it, how do I do that?
Comments
Comment #1
jrefano commentedi have the same request. i can display an emvideo in my view no problem, but i want to also display the title of the video (as a field), pulled from youtube. possible?
Comment #2
aaron commentedit's technically possible, though not easy. fyi, the title of the original youtube video is stored in the field's data array, under the raw/'http://www.w3.org/2005/Atom'/TITLE/0 element, so you could display it in your theme, for instance, with
print check_plain($node->field_video[0]['data']['raw']['http://www.w3.org/2005/Atom']['TITLE'][0]);.YouTube, Blip.TV, and possible Archive.org are currently the only providers fetching this data. It might be worth storing and displaying this metadata on a more general level. (The original author, perhaps, as well.) Similar to how we now grab the duration when available.
Patches are welcome.
Comment #3
sirkitree commentedMaybe some token assignment in order to use this info in conjunction with auto_nodetitle?
I'd also like to explore the same concept with ratings. Title and Rating can be displayed within the player, but it would be nice to have this assigned to fields or just it's own metadata in general to use elsewhere. (just thinking aloud) Then I could explore a fivestar integration as well.
Comment #4
pieterdcI would also like this, sirkitree.
Comment #5
klim_ commentedsubscribe