By User on Monday, 10 May 2021
Posted in General Issues
Replies 3
Likes 0
Views 453
Votes 0
Hello. When I try to add embed youtube video (with "dashboard" or "add video" form) system doesn't import Duration and display nothing (even doesn't display "N/A").

I can see that in 2019 on demo site duration was imported succesefful.

Thanks.

Video link: https://youtu.be/t3yFQPwV4so
We can't retrieve the metadata by crawling the YouTube video page directly since Youtube will block the site IP address if the site keeps crawling the YouTube video page directly, so it will be caused the site unable to retrieve any YouTube video data on the site.

So we changed another way to use YouTube oembed URL to retrieve the YouTube video data but this oembed data is limited, it doesn't include the video duration data unless you set up YouTube API.

You can refer this documentation here how to set up YouTube API key.

https://stackideas.com/docs/easysocial/administrators/social-integrations/youtube-api-key
·
Monday, 10 May 2021 09:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello. If Enable Youtube API option in backend, it will get and display duration? Without any risk of blocking ip? Thanks.
·
Thursday, 13 May 2021 20:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes. As Arlex has already stated, the only way to do this right is to retrieve data via their API.
·
Friday, 14 May 2021 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post