I have built a site that embeds videos from different sources like youtube, metacafe
The problem i have is some video providers' like metacafe, dailymotion duration is shown 00:00 whereas youtube videos show the duration of the video
here is my website to look at the problem
thanks
http://nbavideos.totalh.com/
Comments
Comment #1
atamanbasar commentedany ideas?
Comment #2
artscoop commentedComment #3
TimelessDomain commentedYouTube is the only provider that I know works for duration extraction. On some of my sites the duration for the video comes through right, but then on other sites it has a problem where the same duration length gets copied to all the youtube videos (overriding the actual duration).
The media providers that support the duration element of this module should be listed on the Embedded Video Field documentation page
Comment #4
TimelessDomain commentedThe latest release of http://drupal.org/project/media_youtube fixes the duration length problem (for youtube videos)
The upgrade did not fix old videos -> so i had to go to here to reload the media data http://www.example.com/admin/content/emfield/reload
this action will probably have to be done over again when media providers add the duration feature.
Comment #5
heyyo commentedI use the last media_youtube dev version and the duration is still equal to 0 when i'm using this field in Views. Is there any trick to make it work ?
Comment #6
ejohnson commented^heyyo
I can confirm that the Durations are now currently working for the YouTube Media like TimelessDomain stated.
I'm running:
Embedded Media Field 6.x-2.5
Media: YouTube 6.x-1.x-dev (2011-May-13)
Like stated earlier, I was having problems with a bunch of YouTube videos having the same duration, running an old Embedded Media Field and Media: YouTube. I then updated both modules to the "Recommended version", which caused the durations to 0:00 after re-saving the videos.
Grabbing the latest Dev of Media: YouTube fixed the problem. You have to re-save each video or do a batch "Update option" of some sort (Publish, Reload Embedded Media Data) on that content type to refresh data.