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
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
Comment #1
aaron commentedNot 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.
Comment #2
cappelle commentedHi,
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
Comment #3
rootdownmedia commented+1
Comment #4
cerup commentedFor 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.
Comment #5
youkho commentedSubscribing
Comment #6
mandclu commentedSubscribing 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.
Comment #7
doublejosh commentedHow 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?
Comment #8
trueheehoo commentedFor my install, I was able to grab the view count here:
$node->field_video[0]['data']['raw']['YT:STATISTICS'][1]['VIEWCOUNT']
Comment #9
Sami_Ghname82 commentedHow can print the rate of youtube video as star