Jonk

som en dagbok, fast på internet alltså.. typ
  • Hem
  • Om Jonk
16 maj 2010

Ny version av My Youtube Playlist: 1.2

Nu finns version 1.2 av min plugin My Youtube Playlist att ladda hem från WordPress. Det nya i denna version är att när man klickar på ett klipp från spellistan under filmrutan så startas filmen automatiskt. Detta känns som om det borde ha varit med redan i första versionen men ibland behöver man att någon annan pekar ut något för att man ska inse det. Jag tackar Craig Hamre som upptäckte att det skulle vara bättre med automatisk start när han skapade 500 Gram Cakes (B).

För att visa styrkan med den nya versionen passar jag på att bjuda på en Tommy Seebach-bonanza, håll tillgodo!

Etiketter: my youtube playlist, Plugin, Wordpress

Detta inlägg postades söndag, 16 maj, 2010 kl 10:31 av Jonk i Plugins, Programmering, Wordpress. Du kan följa svar via RSS 2.0 flödet. Du kan lämna en kommentar, eller en trackback från din egen sida.

56 kommentarer till “Ny version av My Youtube Playlist: 1.2”

  1. Faisal Humayun skriver:
    juni 10, 2010 kl. 03:45

    Hi Jonk,
    Is it possible to modify the myyoutubeplaylist plugin so that it hightlights the selected clip using some CSS border tag?
    Awesome plugin, and I’m glad to be using it !

    Svara
    • Jonk skriver:
      juni 10, 2010 kl. 07:23

      Faisal Humayun: Try adding a:focus to the css. Glad you like the pluin!

      Svara
  2. Faisal Humayun skriver:
    juni 16, 2010 kl. 03:58

    Pardon my css ignorance Jonk, but do these tags need to belong in some container of the css file?
    A {color: red;}
    A:hover {color: cyan;}
    A:active {color: maroon;}
    A:focus {border: 1px solid red;}
    A:focus:hover {color: lime;}
    Simply adding these to the css file doesn’t seem to work.
    Once again, sorry for the trouble!
    Thank you!

    Svara
    • Jonk skriver:
      juni 16, 2010 kl. 07:18

      Write them as .myYoutubePlaylist_YoutubePlaylist ul li a, .myYoutubePlaylist_YoutubePlaylist ul li a:hover and so forth and you should be fine.

      Svara
  3. Faisal Humayun skriver:
    juni 16, 2010 kl. 07:54

    You mean like this?

    .myYoutubePlaylist_YoutubePlaylist ul li, .myYoutubePlaylist_YoutubePlaylist ul li a, .myYoutubePlaylist_YoutubePlaylist ul li a:focus{border: 1px solid red;}
    .myYoutubePlaylist_YoutubePlaylist ul li, .myYoutubePlaylist_YoutubePlaylist ul li a, .myYoutubePlaylist_YoutubePlaylist ul li a:focus:hover{color:lime;}
    .myYoutubePlaylist_YoutubePlaylist ul li, .myYoutubePlaylist_YoutubePlaylist ul li a, .myYoutubePlaylist_YoutubePlaylist ul li a:hover {color:lime;}
    .myYoutubePlaylist_YoutubePlaylist ul li, .myYoutubePlaylist_YoutubePlaylist ul li a, .myYoutubePlaylist_YoutubePlaylist ul li a:active{color:orange;}

    Svara
    • Jonk skriver:
      juni 16, 2010 kl. 08:41

      Yes, but delete ”.myYoutubePlaylist_YoutubePlaylist ul li, ” from each row.

      Svara
  4. labedford skriver:
    juli 7, 2010 kl. 15:00

    Just asked this on forums and then looked at your site.

    When will this plugin be compatible with WordPress 3? I tried it with WP3 and the short codes don’t work – they just show up like text when I preview the page.

    Svara
    • Jonk skriver:
      juli 7, 2010 kl. 16:52

      labedford: It is working om WordPress 3, for intstance this blog and this very blog post is a living proof!. 😛 Have you activated the plugin?

      Svara
  5. labedford skriver:
    juli 7, 2010 kl. 22:32

    Yes I did, but the shortcode just shows up like text when I view the page. It is almost like it is not being recognised and taken as text.

    Could the theme be causing this or something else?

    I really would like to use your plugin as it does exactly what I am looking for.

    Svara
    • Jonk skriver:
      juli 7, 2010 kl. 23:02

      Try these things:
      Copy the shortcode from here: http://wordpress.org/extend/plugins/my-youtube-playlist/
      Disable all other plugins.

      Svara
  6. labedford skriver:
    juli 8, 2010 kl. 09:53

    Also I am running Buddypress 1.2.5.2 and using a BuddyPress theme from WPMU Dev. My WP3 is a MS.

    I will try the plugin disable and see if it does anything. I tried the BP default theme and had the same problem.

    Svara
  7. labedford skriver:
    juli 8, 2010 kl. 11:09

    I deleted a few other inactive YouTube plugins I tested and it is working now with your example playlist.

    However, a channel and playlist I created yesterday on Youtube doesn’t show up when I add it with one of your channels or by itself. Initially it shows a grey filming camera with a clock on it in the thumbnail position and when I click it the large video section just goes blank. I have rechecked that the ID is correct a number of times.

    I tested another plugin yesterday and the playlist showed up, but displayed only 1 video in it.

    Svara
  8. labedford skriver:
    juli 8, 2010 kl. 11:47

    I just read that it can take YouTube up to 2 days to make something public. So I will wait another day and report back if that is the problem.

    Svara
  9. labedford skriver:
    juli 13, 2010 kl. 13:29

    My play lists still don’t show up and just have a grey camera icon. I have checked and they are available publicly. I tried two different YouTube accounts. Any idea why this could be?

    Svara
    • Jonk skriver:
      juli 13, 2010 kl. 21:56

      labedford: Probably the wring YouTube id. Send me a link or the id.

      Svara
  10. labedford skriver:
    juli 14, 2010 kl. 10:49

    Here are the playlist ID’s which I created for testing. When I put them into YouTube search both come up: 3DFF6D4D0E2038BF, 6D1820AAC59BFB82

    Here is the page link: http://ukmarketingnetwork.com/video/

    Svara
    • Jonk skriver:
      juli 14, 2010 kl. 19:35

      labedford: That is not valid YouTube ids, see here http://www.youtube.com/watch?v=3DFF6D4D0E2038BF and http://www.youtube.com/watch?v=6D1820AAC59BFB82. The id should be taken from the url, like LO3n67BQvh0 from http://www.youtube.com/watch?v=LO3n67BQvh0

      Svara
  11. labedford skriver:
    juli 14, 2010 kl. 21:22

    Yes I just gave you the last bit, here is the full links:

    http://www.youtube.com/user/ukmarketingnetwork#grid/user/6D1820AAC59BFB82

    http://www.youtube.com/user/ukmarketingnetwork#grid/user/3DFF6D4D0E2038BF

    I see yours say watch in the url. I copied mine from my channel and that is the url given.

    Svara
  12. labedford skriver:
    juli 14, 2010 kl. 21:29

    Is there another ID I should be looking for, for a play list?

    I know that a single video has watch in the url.

    Or am I getting the plugin wrong and supposed to list individual videos together to make a playlist from those on my site?

    My understanding was that it was for already created play lists in one’s YouTube Channel.

    Svara
    • Jonk skriver:
      juli 14, 2010 kl. 21:43

      labedford: yes, you should list the individual videos ids.

      Svara
  13. labedford skriver:
    juli 14, 2010 kl. 22:10

    Ah – that solves it! Thanks for your patience.

    Svara
  14. Kahil skriver:
    juli 19, 2010 kl. 22:01

    when I view the page source, I see that at the end of the code for the embedded video, it says undefined. I tried to add the rel=0 at the end of the code so that the related videos section wouldn’t show, but none of those extra parameters will load because there is something still undefined in the code. Can this be fixed?

    Svara
  15. Kahil skriver:
    juli 19, 2010 kl. 22:48

    I figured out what was causing it. it is the play function.

    Svara
    • Jonk skriver:
      juli 20, 2010 kl. 08:12

      Kahil: Do you mean there’s something wrong with the plugin causing this error?

      Svara
  16. Brian M skriver:
    augusti 10, 2010 kl. 02:32

    I have a few playlists with over 50 videos in them. Is there a way to make it so when a thumbnail is clicked to play a video it automatically scrolls back to the top where the video player is? Currently a user would have to click a thumbnail then scroll up to the player.

    The typical way to do this is make an html anchor have the link be something like http://www.thissite.com/video123#player

    Not sure how to accomplish this with your plugin?

    Svara
    • Jonk skriver:
      augusti 10, 2010 kl. 08:12

      Brian M: I’ll look in to it.

      Svara
  17. pyro skriver:
    augusti 30, 2010 kl. 13:17

    Is there a way to add title or description on list video?

    Svara
    • Jonk skriver:
      augusti 30, 2010 kl. 13:49

      pyro: I’ve tried but I can’t find a way to do it. Sorry.

      Svara
  18. jess skriver:
    september 18, 2010 kl. 16:45

    i really like your plugin. The thumbnails are very sleek and nice.

    Are you planning to add youtube PLAYLISTS IDs instead of individual video IDs?

    Please let me know asap if you will. Good luck to your efforts. Greatly appreciated! 🙂

    Svara
    • Jonk skriver:
      september 18, 2010 kl. 20:31

      jess: Thanks! I’m not planning that at the moment but it’s possible that playlists will be added sometime in the future.

      Svara
  19. Darko skriver:
    september 25, 2010 kl. 15:44

    Thanks!
    Great plugin!!!

    Svara
  20. Joe skriver:
    september 29, 2010 kl. 17:28

    I also love your plugin but wish it could do 2 additional things:

    1) Remove the related Youtube Videos feature
    2) Titles or Captions for the Thumbnails

    I know you have already stated that titles or captions are a problem for you to implement but can you be specific as to how I can remove the related youtube videos.

    Thanks so much…

    Svara
    • Jonk skriver:
      september 29, 2010 kl. 20:54

      Joe: In the php- and js-file after ”&hl=en&fs=1”; add ”&rel=0” to remove the related videos resulting in ”&hl=en&fs=1&rel=0”, I’ll add that option to an admin page in the future.

      Svara
  21. Joe skriver:
    september 29, 2010 kl. 22:01

    Jonk,
    Thank you for your incredibly fast reply….much appreciated!

    I made the changes and it works perfectly for all of the thumbnails when they are clicked but it does not seem to work for the first big video that opens on top when the page first opens.

    I am on a Mac and tested in in Firefox, Safari and Opera…..same behavior for all 3.
    Hope you have a fix.

    Thanks again in advance…

    Svara
    • Jonk skriver:
      september 30, 2010 kl. 19:25

      Joe: I don’t know straight away, try some css with ”+” selecting elements based on previous elements. If that doesn’t do it, try jQuery.

      Svara
  22. Joe skriver:
    september 30, 2010 kl. 13:16

    Jonk,

    Another question:
    If the videos are 720p, is there a way to make all the videos default to playing in 720p. They all default to 320p now.
    Thanks,
    Joe

    Svara
    • Jonk skriver:
      september 30, 2010 kl. 19:02

      Joe: There doesn’t seem to be a way http://code.google.com/apis/youtube/player_parameters.html

      Svara
  23. Joe skriver:
    september 30, 2010 kl. 19:14

    Jonk,
    Thank you for your reply.

    Are you responding to my last 2 questions or just the one above?

    I am still hoping there is a way to get the first video that loads in the big window on top to not show the related youtube videos.

    Joe

    Svara
  24. Joe skriver:
    september 30, 2010 kl. 19:26

    Jonk,

    I’ll give it a try and post with the results.

    Svara
  25. Joe skriver:
    oktober 13, 2010 kl. 22:26

    Jonk,

    I can not figure out how to do this myself as I am not sophisticated with CSS. If anyone can figure this out, please post.

    Thanks…

    Svara
  26. Jeff Tovar skriver:
    oktober 20, 2010 kl. 03:44

    It looks like Faisal Humayun was able to get the titles to display underneath the thumbnails on his site – http://seekeraftertruth.com/. We just need to know how he did it!

    Svara
    • Jonk skriver:
      oktober 20, 2010 kl. 07:12

      He is using Tubepress

      Svara
  27. dinis skriver:
    oktober 26, 2010 kl. 17:18

    Sorry about last post – now I found your txt. It looks like There are no options – just need to add the hook line.
    Please delete previous post.

    Svara
  28. dinis skriver:
    oktober 26, 2010 kl. 17:32

    Final post.
    Thanks for your work.
    When I get my flatter account I’ll flatter you.

    Svara
  29. Alle registraties skriver:
    mars 17, 2011 kl. 13:49

    About one of the latest posts.
    I’m also dealing with putting the titels underneed the thumbnail.
    Do you have some code for that? Some editing in the PHP or JS file?

    btw thanks for the ”&hl=en&fs=1” coding it really did the trick!

    Svara
    • Jonk skriver:
      mars 17, 2011 kl. 20:58

      I’m afraid not, but if you figure it out please tell me!

      Svara
  30. deenzaida skriver:
    augusti 22, 2011 kl. 10:53

    Hi Jonk,
    I can teach you how to do configure plugin My Youtube Playlist?

    Svara
    • Jonk skriver:
      augusti 22, 2011 kl. 13:39

      Probably not, since i wrote it. But if you want to know how to configure it read http://wordpress.org/extend/plugins/my-youtube-playlist/installation/ and if you want to change the look of the plugin, just edit the css.

      Svara
  31. kaylamatthews skriver:
    januari 21, 2012 kl. 21:36

    Great plugin!

    Regarding adding extra parameters at the end of the video url, for example:

    &hl=en&fs=1 – in the source there is an ”undefined” error as mentioned by Kahil

    To go around that, just add the extra parameter BEFORE the &fs=1 instead of after it, like so

    &hl=en&version=3&fs=1

    Hope this helps someone!

    Svara
  32. Syahrizan skriver:
    februari 1, 2012 kl. 01:59

    Hi Jonk,you have done greet work.

    My Question is
    Do you know how to put this youtube playlist into Index template?What is the right code so this playlist will show at the frontpage?

    I try this
    [myyoutubeplaylist LO3n67BQvh0, WGOohBytKTU, iwY5o2fsG7Y, PyKNxUThW4E, 1cX4t5-YpHQ, SJ183htYl-8, eWwoHPrrJYY, bja2ttzGOFM]

    but no success.

    Svara
    • Jonk skriver:
      februari 1, 2012 kl. 08:06

      You mean to have it hardcoded in a file? I’d rather recommend creating at page and adding your list on it, and then setting it to be the startpage under settings > reading in Wp-admin.

      Svara
  33. webdesign skriver:
    maj 12, 2012 kl. 05:08

    Hi Jonk, I know you’ve been asked before about this but I was interested in adding titles and description to the thumbnails. Google has updated their api and I understand this can be done with javascript JSON. Would you be interested in adding this to the plugin? https://developers.google.com/youtube/2.0/developers_guide_json

    Svara
    • Jonk skriver:
      maj 12, 2012 kl. 13:11

      Thanks! I’ll look in to it!

      Svara
  34. webdesign skriver:
    maj 13, 2012 kl. 04:53

    That would be great. I’ve tried other youtube plugins and none are as good as myyoutubeplaylist. If you don’t have time to update the plugin itself I would be interested in a solution to update the js & or php files. Thanks for reading my question!

    Svara
  35. Maggy skriver:
    oktober 15, 2012 kl. 19:22

    Hej!
    Tack för grym wp-plug! Undrar bara om det går att lägga ”spelaren” i sidebaren?
    Allstå som ”widget” eller hur kan man koda det? Finns det någon enkel lösning?

    Mvh, Maggy

    Svara
    • Jonk skriver:
      oktober 15, 2012 kl. 21:06

      Testa do_shortcode http://codex.wordpress.org/Function_Reference/do_shortcode

      Svara

Lämna en kommentar

Klicka här för att avbryta svar.

« Ny typsnittsfilm: Typeface
Ny WordPress-plugin: Category Thumbnail List »
  • Prenumerera

    • Inlägg (RSS)
    • Kommentarer (RSS)
  • Arkiv

  • Kalender

    • maj 2010
      M T O T F L S
       12
      3456789
      10111213141516
      17181920212223
      24252627282930
      31  
      « apr   jun »
  • Kategorier

    • Apple (1)
      • iPad (1)
    • Bloggeriet (83)
      • Wordpress (67)
        • Plugins (16)
        • Wordpress-teman (27)
          • Daßlog Screen (9)
          • Follow me Darling (2)
          • Jonk (11)
    • Dator (192)
      • Datorbyggande (18)
      • Internet (102)
        • Sökmotoroptimering (2)
      • Linux (31)
      • Mikrobloggande (14)
      • Programmering (52)
    • Familjen (25)
      • Freja (10)
      • Lisa (6)
      • Loke (16)
    • Fildelning (51)
      • Fri musik-vecka (15)
    • Film (26)
    • Foto (4)
    • Humor (1)
    • iPhone (31)
    • Jobb och sånt (52)
    • Länkar (13)
    • Musik (131)
    • Ordmärkeri (18)
    • Politik (13)
    • Shopping (5)
    • Spel (6)
    • Tatuering (11)
    • TV (4)
    • Webbhotell (2)
    • Övrigt (100)
  • Jonk på andra ställen

    • Bloggy
    • Jaiku
    • Twitter
    • Flickr
    • YouTube
    • Bambuser
    • Facebook
  • Flickr

    • Kraken
      Kraken
      Kraken
      Luftballong
      Paraply
      Skäggig dam
      Stormtrooper
      Timglas
      Timglas, båda hållen
Jonk drivs stolt med WordPress
Design & kod av Jonk
Inlägg (RSS) och Kommentarer (RSS).