Re: Howto:Use playlist videos from user [Automatic Youtube Video Posts]

Hello,

First i want to tell that the plugin is the best on his class! Superb!

Well, que problem is that I want to pull out videos from  a playlist that I own (or any user if possible) instead of the whole videos from a user.

Is there a way to change this?

Thanks in advance!

Re: Howto:Use playlist videos from user [Automatic Youtube Video Posts]

I found a solution, not the best, but at least its working.

First you need to find your playlist ID
then,

Second: Edit the parse.php file located in the plugin directory
Find in line 187 where it says
<code>
'url'        =>    'http://gdata.youtube.com/feeds/api/users/'.$v.'/uploads?orderby=published&max-results='.$z.'&start-index='.$i,
        'options'    =>    array(
</code>
change it to
<code>
'url'        =>    'http://gdata.youtube.com/feeds/api/playlists/PLAYLIST_ID?orderby=published&max-results='.$z.'&start-index='.$i,
        'options'    =>    array(
</code>
where the playlist_id is the playlist id you want to play of course. :)

Save the file,  Import your videos from the menu as normal procedure..

And thats  it :)

Re: Howto:Use playlist videos from user [Automatic Youtube Video Posts]

great i am use
www.fonec.info