I have a theme that has a “Portfolio” custom post type.
I want to embed Youtube videos in these Portfolio items, but when I tried it, the featured images of the portfolio did not get set to the Youtube featured image.
What’s the URL you tried with for the youtube video? There shouldn’t be any sort of limit to post type, so chances are that there was something wrong with the fetching of the image to use. For example, did the image show up in your media library? or is it not shown there as well?
Michael,
Ok.. I got it to work for some of my videos. I just had to “update” my posts to make the featured images appear. So that is a great feature now working.
The only problem I know have is that it doesn’t seem to display a featured image when I am trying to point to a Youtube playlist, like this:
Can you get a featured image from a youtube playlist?
We don’t have support for playlist links, as far as I can recall. Chances are our regex doesn’t recognize them. It’s best for the individual video urls at the present moment.
Perhaps an enhancement for a future version, proper parsing of urls that have playlist details.