Hi Cosmin,
I see. But would that need a lot of coding? I was able to find the meta box code where I select the type of thumbnail for the post and the line in the single page or blog page where the link provided in the meta box is assigned to $video with the video_embed function. But I couldn’t find where or how this video_embed function trims the url from youtube to get the video ID and put the strings together to create the link used in the iFrame.
I tested in the Chrome inspector and found out that all I need to embed playlists in thumbnails or main details is to get the link in the Iframe to be something like this:
{iframe src=”http://www.youtube.com/embed/?v=iYKEVs_DCMk&list=PLPl0lw3V0mkuiAR8F1gCOx_s0uz-ZJvl9″}. Which is just the way youtube shows the url (http://www.youtube.com/watch?v=iYKEVs_DCMk&list=PLPl0lw3V0mkuiAR8F1gCOx_s0uz-ZJvl9) but with “/embed” in the middle and no “wmode” after it.
I figured that if I could just create another post type for playlists in the meta box file and change the way the this url is sent to the iframe for this post type than that would be it. Could you help me out here or is this much more complex than I thought?
Thanks anyway!
regards,
Vitor