• After getting problems with this plugin (Now not retrieving videos automatically) I decided to dive into the code and find the problem, I haven’t found my issue yet but I have fixed a few functions and updated the options and commented them in the patch which have been problems for several people.

    As always backup your files incase anything goes wrong, I am NOT apart of the development team.

    The Options:
    by now you’ll be used to two options User & Playlist, these have been replaced and a new option has been added.

    User now become Custom User URL, this is the original function still intact, the problem with this is not everyone has a Custom URL eg (https://www.youtube.com/pewdiepie) but if you do then the option is still present just labelled much better.

    Playlist is now Playlist/User Uploads, again still intact and labelled correctly user uploads are handled through the same function as playlists on YouTube and through the API.

    And Finally a new option Channel ID with this you can simply paste your Channel ID (starting with UC) eg https://www.youtube.com/channel/UCh1NCgV1JOCRjoZYaVek35g into the box and start importing immediately it has better functionality then using User Uploads through the playlist function.

    I have also updated the link to the tutorial to a youtube video rather then a website that never works.

    I hope this has helped you check the link below for the additions/changes
    the file you will be editing is wp-content>plugins>video-importer>providers>youtube>class-refactored-youtube-importer.php

    https://pastebin.com/PW4ppErx

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is great – thank you!

    I’ll test it out and report back.

    I don’t suppose you have fixed the Vimeo importer too?

    Thread Starter t3fury

    (@t3fury)

    Sorry i don’t use vimeo but i can look into it quick, whats the problem with it?

    • This reply was modified 7 years, 8 months ago by t3fury.

    It just straight doesn’t import videos from user profiles
    eg. https://vimeo.com/newyorktimes

    I get the %infinity% error

    Thread Starter t3fury

    (@t3fury)

    I’m Sorry but I can’t fix this, its using old API methods by the looks of it and i would say it needs a complete re-write, unfortunately I don’t have any experience with the vimeo API or the time fix it. On top of me not knowing vimeo the information needed to learn it seems a bit mixed up and not straight forward as YouTube’s

    Thanks for taking a look – that is what I thought.
    I might try and figure it out myself if I get a few hours/days.

    Hi t3fury,
    I try to use your new code, but it still doesn’t import anything at all. Hope we can find solution for this plugin soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New YouTube Function Channel ID Enjoy :D’ is closed to new replies.