YouTube Channel

Jump to English description.
YouTube Channel je dodatak koji omogućava prikaz vidžeta sa poslednjim ili nasumičnim videom željenog YouTube kanala ili plejliste. Nakon instalacije dovoljno je dodati vidžet u bočni meni (eng. sidebar), uneti naziv željenog kanala i poslednji video sa istog biće prikazan na vašem blogu. Ali, to nije sve!

Mogućnosti

Osim što prikazuje poslednji video, dodatak YouTube Channel omogućava i:

  • prikaz nasumičnog videa sa kanala
  • prikaz videa iz plejliste
  • postavljanje proizvoljnog naslova za vidžet
  • prikazivanje ili sakrivanje naslova videa iznad prikazanog objekta
  • proizvoljnu širinu i visinu objekta (podrazumevano je 220×165 piksela)
  • željeni odnos stranica objekta (prilagođeno — poštuje se postavljena visina, 4:3, 16:10 i 16:9)
  • mogućnost prikaza jednog od četiri vrste objekta, i to:
    • umanjena slika (eng. thumbnail)
    • ugradivi objekat YouTube fleš videa (object)
    • okvir YouTube videa koji pravi HTML5 video (iframe)
    • Chromeless fleš objekat koji omogućava prikaz videa bez kontrola
  • popravljanje visine video objekta tako da se nadoknadi prostor koji zauzimaju kontrole
  • omogućavanje automatske reprodukcije videa
  • opcija za sakrivanje kontrola video objekta
  • opcija za sakrivanje informacije o videu
  • postavljanje proizvoljnog natpisa za vezu do kanala
  • prikazivanje ili sakrivanje veze do kanala na dnu vidžeta
  • opcija za otvaranje kanala u novom prozoru/jezičku
  • opcija za upotrebu target=“_blank“ opcije za otvaranje kanala u novom prozoru/jezičku
  • lokalizovan na srpski i španski jezik

Preuzimanje

Dodatak možete da preuzmete odavde: YouTube Channel 1.3.2 (105)

Prethodne verzije

Instalacija

Instalacija dodatka YouTube Channel je veoma jednostavna i ne razlikuje se od instalacije bilo kog drugog dodatka. Može se obaviti ručno ili automatski.

Za ručnu instalaciju dovoljno je preuzeti dodatak, raspakovati arhivu i poslati direktorijum youtube-channel pomoću FTP programa na server u direktorijum wp-content/plugins/.

Za automatsku instalaciju iz odeljka Dodaci → Dodaj novi treba uneti frazu „youtube channel“, kliknuti na dugme „Pretraži dodatke“ a potom na vezu „Postavite sada“ i ispratiti ostale korake na ekranu.

Upotreba

Nakon aktiviranja dodatka na stranici Dodaci treba dodati vidžet na stranici Izgled → Vidžeti, uneti naziv kanala i podesiti ostale opcije po želji.

Postavke vidžeta YouTube Channel 1.3.2

Postavke vidžeta YouTube Channel 1.3.2

To bi bila sva filozofija i ne bi trebalo da bude ikakvih nedoumica oko podešavanja. Ako ipak nekome zapne, savet tražite u komentaru.

Vidžet u akciji

Evo kako podešeni vidžet izgleda u akciji.

Vidžet YouTube Channel u akciji (Chromeless video bez kontrola)

Vidžet YouTube Channel u akciji (Chromeless video bez kontrola)

Vidžet YouTube Channel u akciji (novi YouTube ugrađeni objekat sa kontrolama i popravljenom visinom videa)

Vidžet YouTube Channel u akciji (novi YouTube ugrađeni objekat sa kontrolama i popravljenom visinom videa)

Zahvalnice

Opciju Chromeless videa preuzeo sam iz dodatka Chromeless YouTube kome nedostaje koješta od ovoga što je meni trebalo, zbog čega sam i napravio YouTube Channel.

Unapređenje koda za verziju 0.1.3 i pomoć oko poziva za lokalizaciju, što me je iskreno mrzelo da uradim :) , uradio je Milan Dinić, zato njemu hvala!

Korisna adresa

Možete posetiti zvaničnu stranicu dodatka YouTube Channel u Vordpres riznici odakle možete da preuzmete uvek najsvežiju verziju, da pratite izmene i razne druge informacije o dodatku.

Ako vam se dodatak svidi i bude vam koristan, slobodno ga na istoj stranici možete oceniti. Naravno, i ako vam se ne svidi možete da ga ocenite lošijom ocenom od 5 zvezdica, ali vas molim da u tom slučaju ovde napišete šta nedostaje ili ne valja. To takođe možete napisati i ako ga ocenite sa 5 zvezdica :)

Vaša podrška

Podršku primam kroz deljenje linkova na društvenim mrežama, PayPal donacijom ili kroz pivo/kafu/sok kad se vidimo. Tapšanje po ramenu ne primam!

English

(English text need to be lectured)

YouTube Channel is extension for WordPress that allows displayling of widget with latest or random YouTube video from channel or playlist. After installation just add the widget to sidebar, enter the name of the channel and the latest video from the same will be shown on your site. But that’s not all!

Features

In addition to showing the latest video, YouTube Channel also can to:

  • show random video from channel
  • show video from playlist
  • set custom widget title
  • to show or hide name of video above object
  • custom width and height (default 220×165 px)
  • custom aspect ratio (custom, 4:3, 16:10 and 16:9)
  • to show video as:
    • thumbnail
    • youtube flash object
    • HTML5 iframe
    • Chromeless flash object
  • fix video height when controls is displayed
  • option to autoplay video
  • option to hide video controls
  • option to hide video info
  • set custom text to channel link
  • option to show link to channel on the bottom of widget
  • option to open video in new window/tab with javascript window.open()
  • option to use target=“_blank“ to open video in new window/tab
  • translated to Serbian and Spanish

Download

YouTube Channel can be downloaded from here: YouTube Channel 1.3.2 (105)

Older versions

Installation

YouTube Channel is pretty easy to install as any other extension. You can to it manual or automatic.

For manual installation download, unpack archive and upload directory youtube-channel with some FTP program to wp-content/plugins/.

For automatic installation go to Plugins → Add new enter keyword ‘youtube channel’, click on button ‘Search’ and then on link ‘Install now’.

Usage

After activation on page Plugins add widget on page Appearance → Widgets, enter channel name and setup other options.

Settings of YouTube Channel 1.3.2

Settings of YouTube Channel 1.3.2

Thats all.

Widget in action

Widget YouTube Channel in action (Chromeless video w/o controls

Widget YouTube Channel in action (Chromeless video w/o controls)

Widget YouTube Channel in action (new YouTube with controls and fixed height)

Widget YouTube Channel in action (new YouTube with controls and fixed height)

Thanks

Chromeless video option has taken from plugin Chromeless YouTube.

Localisation enabled in version 0.1.3 thanks to Milan Dinić.

Usefull address

You can visit official YouTube Channel page on WordPress, from where you can download latest version, to track changes and other infos.

If you satisfied with YouTube Channel, fell free to rate it. If not, please say what you wish to see in it, so I can enhance it.

Your suppoert

You can share voice about YouTube Channel on social networks, donate by PayPal or just say ‘Thanks’.

57 komentar na zapis YouTube Channel

  1. Ivan kaže:

    Stamparska greska:
    Did you watched my channel -> Did you watch my channel

    Inace, kul, samo nastavi sa wp novostima :)

    • Aleksandar kaže:

      Hehe, nije to štamparska greška nego „Tarzan ingliš“ :) Inače je to detalj koji sam ručno postavio u razvojnom blogu, sad ću da promenim sličicu — hvala ;)

  2. Povratni ping: Novi dodatak za Vordpres: YouTube Channel « Zapisi

  3. Marco kaže:

    Hello, I really like this plugin. I’d like to ask if it’s possible to show more than just the last video.
    I need to show at least 2 or 3 of them.

  4. Arkantos kaže:

    What code I have to insert in my theme to get this plugin working without using widgets???

  5. Ted Sanchez kaže:

    Is it possible to show your favorite videos and not just the ones you’ve uploaded?

  6. Evamaria kaže:

    Chose this plugin because it seems to do exactly what I need it to – however, after adding the widget and filling in the channel information, it keeps telling me „no items“. I thought it might be that there’s no recent video, but it also doesn’t work with the „random video“ option. Any ideas why that is?

  7. Jon kaže:

    I love the plugin! Thanks! But I was wondering if it would be possible to add an image for the title in the widget.

    Thanks!

  8. Charles kaže:

    Any update Evamria’s issue? I have the same issue: no items on YTC 0.1.3 and WP 3.2.1

  9. Stacy kaže:

    I like this plugin too. I’d like to add something to your todo list: allowing a user to input a PL number or Playlist number in addition to a user channel. Thank you!

  10. Ed kaže:

    When updated to 1.1, the HTML5 player is showing suggested videos, which includes ones that we would not like on our website http://www.neverthebride.com – is it possible to disable these from appearing? Also hide controls no longer works in HTML5.
    I reverted to the older version which is still working fine, but it would be great if you could fix this. I created a playlist to try and get around the problem but ‘No Items’ appeared, despite checking the Playlist ID from the URL. Any ideas?
    Many thanks for the great plugin and for continued support and updates.
    Ed, Team NTB

    • Aleksandar kaže:

      Can you please try version 1.1 and insert behind line 231

      } else if ( $to_show == "iframe" ) {

      in file youtube-channel.php new line with content

      if (!$usepl) { $yt_url = $yt_id; }

      , then please report is this problem with suggested videos is solved (I know that no-controls problem will be solved).

      About that playlist problem, please remove string PL in front of playlist ID, so actualy ID PLF36AAE6B3C75ABA1 becomes F36AAE6B3C75ABA1.

      It first solution solves your problem, I’ll publish version 1.2 with fixes and tweak to trim PL in front of playlist ID too.

  11. Nathan kaže:

    really love your plug-in – excellent work!

    i have the random feature turned on and it seems to work fine. one question – it appears to only grab more recent videos (like the last 20) – is it possible for the widget to go back even further (I have almost 300 videos)?

    Thanks!

  12. Steve Moore kaže:

    YOUTUBE „No Items“ Error – What is interesting about the issue is that I am finding on older youtube usernames regardless of views, it works fine. My newer username internetincomemag returns „No Items“ if I change it to any random username from any other channel, older account, it works fine and pulls the videos in. Using V1.2. Any thoughts.

  13. Steve Moore kaže:

    Did not work for me. Here is the interesting part as I mentioned before. If I alternate my youtube usernames, they all work accept the one that is a few days or a week old. I think the problem is not with your widget but with the youtube service. Maybe accounts have to be a few weeks old or something. Please post if you have any new thoughts and again, thank you.

  14. William A. Rodriguez kaže:

    Don’t use capital letters in the channel name. That was my issue with the videos not showing up.

    • Paris RDRG kaže:

      Hi,

      Well, my acocount on youtube channel was indeed created with capital letters. I tried to change but could not find how on you tube. I wouldn’t like to close it … for obious reasons. So, how to solve the no items problem ?????

      Please help !

      Tks

      IBB

  15. Anthony kaže:

    I spent a lot of time trying to figure out HOW TO FIND THE PLAYLIST ID to put into the widget. I know it sounds simple but for casual YouTubers it can be a hunt for sure. Found this video and just thought it would come in handy for someone else who wants to display just certain playlists.
    http://youtu.be/W0LXF73g6D8
    Thanks for making such a cool plugin.

  16. Anthony kaže:

    Installed the plugin and added my widgets 3 of them and they are all playing from a different playlist but one thing I’ve discovered is that whenever I try to open any of the pages that has the plugin running while in Internet Explorer (I’m using version9) I get a script error message only referencing the videos in the widgets. Works fine in Firefox and Google Chrome but always crashes in IE.
    This worries me since so many people use IE as their primary browser. Here’s a page you can check out and see if it is happening to you.
    http://tustinhouses.com/tustin-neighborhoods/tustin-92780/treehaven/
    Thanks.

  17. Gary kaže:

    I uploaded a YouTube video to my channel today. It was the third. It shows up in YouTube but doesn’t show up when using this plugin. This YouTube video was on YouTube already. I downloaded it (with permission) and uploaded it to our channel. Again, it shows up in our YouTube channel fine. But when I tell it to display 3 different videos, it only rotates between the previous two.

    Our YouTube channel is here:
    http://www.youtube.com/user/njcutuber?feature=mhee

    Do you know why I can’t seem to get our 3rd video to show up in rotation, using your plugin?

    Gary

  18. Sheridan kaže:

    The „Items to fetch (min 1, max 50): “ does not work. Only shows 1 video regardless of the number I put in the box. Great plugin otherwise but I can’t use without it showing more videos. Is there a fix?

    • Sheridan kaže:

      Forgot… I am using the latest version of WP and this plugin. – Thx!

      • Aleksandar kaže:

        Actualy, YTC shows only one video in sidebar but randomize which video will display from feed of min 1 and max 50 uploaded videos to channel.

        Displaying more than one video in same time is TODO, but not implemented yet.

  19. Pavel from Czech Republic kaže:

    Dober dan,
    Thank you for great plugin.
    I am using your plugin on my website http://www.nosimvasetriko.cz and I want to show latest YouTube video. Unfortunately I am experiencing the problem that 2nd video out of 4 is shown. It is not definitely latest video i have uploaded and shared on Youtube.

    Hvala. ;-)
    Pavel from Prague

    • Aleksandar kaže:

      Hi Pavel. You experienced YouTube problem I called „time shift“ :) Actualy, in some reason (perhaps Time Zone related) YouTube don’t serve to RSS feed videos uploaded in last 23 hours (or maybe less). Now, January 3rd at 8:28 am I can see your Webees video in sidebar on your site.

  20. Federico kaže:

    Thank you Aleksandar!

    What a great Plugin indeed.

    Just one request.
    I’ve been using your plugin along with a menu and due to a flash-bug with the z-index I need the last parameter of the iframe to be set to &wmode=opaque.

    Below is the chunk I edit in order for this to work.

    <iframe title="YouTube video player" width="" height="" src="http://www.youtube.com/embed/&wmode=opaque" frameborder="0" allowfullscreen>

    It’ll be nice if you consider putting this in your next release.

    Thanks again and have a nice coding!

    Here are two articles explaining the bug
    English: http://maxmorgandesign.com/fix_youtube_iframe_overlay_and_z_index_issues/
    Español: http://corchoweb.com/2012/soluciones/arreglo-z-index-de-youtube-y-flash-encima-de-todo/

  21. Natasha kaže:

    Hi Aleksandar!

    I have used the widget successfully before e.g http://tibetanwomen.org/aims-objectives

    However it does not work on the homepage and I don’t know why: http://tibetanwomen.org/

    It is instead showing your Youtube channel – maybe the default? But I have entered our correct Youtube user name… I have tried deleting cache / refreshing / deleting the widget and putting it back / updating the plug in…

    Thank you for your help,

    Tasha
    Tibetan Women’s Association

    • Aleksandar kaže:

      Weird. Do you maybe use different sidebar setups for home page and other pages (I see that on subpagesa missing Facebook Like Box, and YTC widget have default settings – no title and my channel)?

  22. Joe Gilbert kaže:

    Hi got this plugin installed and it works great! Just a quick question, how often does the „random video“ change?

    • Aleksandar kaže:

      YTC do random video on every page load, but this does not mean that every time it displays different video (if less videos is set to grab, more same videos will show).

  23. Cody kaže:

    This is a great plugin! I have one question…
    I have it set to autoplay, but I would like it to default the sound to muted. It this possible?

    Thanks!

  24. Tony kaže:

    Hi
    Nice looking plugin. I have one question, is it possible to add some css to the video display so that it is centered in my sidebar. Currently it is on the left.

    Thanks

    • Aleksandar kaže:

      Yes. You can style class .youtube_channel in theme CSS (that is container for YTC div).

      • Tony kaže:

        Thank you for your quick answer. I had tried that but the video or thumbnail does not want to center. I have tried both of the following but neither worked, do you know an alternative that will work?
        .youtube_channel {
        width: 270px;
        margin: 0 auto;
        }

        and
        .youtube_channel {
        margin-left: auto;
        margin-right: auto;
        }

        Thanks
        Tony

        • Aleksandar kaže:

          Well, .youtube_channel is class of containing DIV. So, you need to set margin to object/iframe/div of video/image. For image use this:

          .youtube_channel a div {
          margin: 0 auto;
          }

          To set width of object/igrame/image use YTC widget settings field width, don’t set size in css.

  25. Rob kaže:

    Nice plugin!
    I have my youtube channel setup to include „favourites“ as well as uploaded videos. Is it possible for this plugin to display the latest video added to my channel, regardless of me uploading it, or it being a favourite?
    Cheers!

Ostavite odgovor

Vaša adresa e-pošte neće biti objavljena. Neophodna polja su označena *

*

Možete koristiti ove HTML oznake i atribute: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>