
08-12-2015, 05:21 AM
|
 |
|
|
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Matriosh
It's true, that YouTube Data API 2.0 was depreceated and you can't add Youtube video to the library now. But you can make a hotfix without getting the API-key and moving to API 3.0. It will work for the title, description, thumb and video itself. - Make a backup of your media_service table (don't forget about prefix if you use it);
- Run the query:
Code:
UPDATE media_service SET svcFeed = svcURL, svcThumb = "$meta['og:image']", svcTitle = "$meta['og:title']", svcDesc = "$meta['og:description']" WHERE svcName = 'YouTube';
- Run the query (optional for Vimeo, cause its API does not work for me, either):
Code:
UPDATE media_service SET svcFeed = svcURL, svcThumb = "$meta['og:image']", svcTitle = "$meta['og:title']", svcDesc = "$meta['og:description']" WHERE svcName = 'Vimeo';
|
This is not working for me.
|