Hello,

Is there a way to show the original description of the video clip from youtube in drupal? Would be great to also show the view count and rating as well.

Thanks in advance,
john

Comments

aaron’s picture

Status: Active » Postponed

Not currently. I would like to find a good way to implement that, however. At the least, we could store the data for custom retrieval by the themer.

However, won't work on this till at least after we get the d6 version out next month.

cappelle’s picture

Hi,
I am also looking for exactly that, in particular the view count and the rating automatically mapped onto a cck field or something similar. I'm looking forward to the new version.

Thanks,

Frank

rootdownmedia’s picture

+1

cerup’s picture

For youtube, you can get the description with

print $node->field_video[0]['data']['raw']['http://www.w3.org/2005/Atom']['CONTENT'][0];

If you're using contemplate or a custom node template, you can add this and it'll get the description for youtube videos.

youkho’s picture

Subscribing

mandclu’s picture

Subscribing as well. It would be great if this could be available for mapping to a CCK field.

Should this topic be update to the 6.x branch? One of the earlier responses mentioned that it would be added to this branch.

doublejosh’s picture

How can I simply output the video embed code in a node template.

This should be easy, but it's not available anywhere in the node variable including the content variable.
Do I need to pass it through a theme function in the node template?

trueheehoo’s picture

For my install, I was able to grab the view count here:

$node->field_video[0]['data']['raw']['YT:STATISTICS'][1]['VIEWCOUNT']

Sami_Ghname82’s picture

Version: 5.x-1.x-dev » 6.x-1.0

How can print the rate of youtube video as star