I created a node in drupal7 which contains a youtube link. I installed youtube module
in my site. with the help of this module i just created a field for inputting url to youtube video.
every thing worked fine. It is showing me the thumbnail,video etc.
But the problem is how to get the length of the youtube video
?
I am using views
to generate a json web service the output is
{
"title":"social networking",
"field_eventcat":"Performing Arts",
"field_eventdaytime":"06\/06\/2012 - 05:00",
"field_eventvideos":"http:\/\/sample sites\/sites\/default\/files\/styles\/thumbnail\/public\/youtube\/6a_KF7TYKVc.png",
"nid":"34"
}
I want to get the video lenght with this object. pls help