WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
channls add only 20 vids?! (6 posts)

  1. Pixelpropaganda
    Member
    Posted 8 months ago #

    i set up channels to be imported, but there are only 20 videos per channel not all imported (youtube).
    is there any reason for that?

    and its not picking up any new videos every 6 houres o.s.

    how can i constantly integrate ALL videos from a youtube user?

    http://wordpress.org/plugins/automatic-youtube-video-posts/

  2. Ismail Fazal
    Member
    Posted 8 months ago #

    You should goto >> youtube post >> import videos >>and click import all videos.

  3. jemsz
    Member
    Posted 8 months ago #

    OPEN PARSE.PHP in the core folder insider Plugins/Auto Youtube

    Max results = How many playlist / favorite videos will be returned
    Index = Were the videos import will begin, for example if you want video 10 on wards change index to 11. If you want to import over 50 videos you need to start the index from 51.

    Take note line 388 for me was the channel line, just below it was the playlist line.

    Following is the channel line

    if($t == 'channel') {
    		$tern_wp_youtube_feed = 'http://gdata.youtube.com/feeds/api/users/'.$v.'/uploads?orderby=published&max-results='.$z.'&start-index='.$i;
    	}

    Following is playlist line just below it (dont need to edit if your importing from channel)

    elseif($t == 'playlist') {
    		$tern_wp_youtube_feed = 'http://gdata.youtube.com/feeds/api/playlists/'.$v.'?v=2';
    	}
  4. jemsz
    Member
    Posted 8 months ago #

    Now your looking for
    http://gdata.youtube.com/feeds/api/users/'.$v.'/uploads?orderby=published&max-results='.$z.'&start-index='.$i;

    change it to
    http://gdata.youtube.com/feeds/api/users/'.$v.'/uploads?orderby=published&max-results='.$z.'?max-results=50&start-index=1&v=2';

    As i just said Max results = How many to return
    Index = Were the video retrieval will begin from

  5. jemsz
    Member
    Posted 8 months ago #

    I change the parse.php line described above every time i use the import function, so you need to backup parse.php and modify that 1 line when you need to import more or less videos

  6. jemsz
    Member
    Posted 8 months ago #

    I change the parse.php line described above every time i use the import function, so you need to backup parse.php and modify that 1 line when you need to import more or less videos

  7. dub3325
    Member
    Posted 8 months ago #

    Brilliant, thanks jemsz! I had this same issue. Only thing now, is when I added:

    $tern_wp_youtube_feed = 'http://gdata.youtube.com/feeds/api/playlists/'.$v.'?max-results=50&start-index=1&v=2';

    My playlists cap off at 10 for some reason, but I'm pulling more than 25 videos finally. One issue after another lol. Let me know if you have any insight.

    Currently I have about 15 playlists, this is because i needed to have each playlist import into different categories.

Reply

You must log in to post.

About this Plugin

About this Topic