Video description of youtube videos is not fetched
Closed this issue · 2 comments
Hi, I hope it's the right place to ask a question:
I am fetching youtube video titles and thumbnails without a problem. But when it comes to video description it's always empty?
This is my test code:
{% set testEmbedder = craft.embedder.url('http://www.youtube.com/watch?v=uHNCLOSXqUM') %}
This works:
{{ testEmbedder.video_title }}
This is always empty:
{{ testEmbedder.video_description }}
Now, I've also tested it for vimeo Videos, and descriptions seem to be available...
Are descriptions only available for vimeo videos?
Would it be possible for you to add descriptions from youtube?
Cheers
Stefan
Hi Stefan,
This is absolutely the best place to ask questions like this. Unfortunately the description isn't available for YouTube videos. With the way that Embedder works, YouTube doesn't make that field available. If you need that (and more advanced functionality) I would recommend this plugin: https://dukt.net/craft/videos
Thanks,
Adam
That's sad... but thanks for the quick answer...
I might look into dukt... thanks!