WordPress.org

Ready to get started?Download WordPress

Forums

YouTube.com plugin (need feedback) (37 posts)

  1. VaamYob
    Member
    Posted 8 years ago #

    You can check it out here:

    http://www.xyooj.com/blog/plink/technical/27/wordpress-youtube-video-gallery-plugin/

    Please let me know what sort of features you would like to see.

    Currently,
    There is an admin options screen where:
    1. you can specify the class attribute for the containing divs and the thumbnails
    2. you can specify the size of the thumbnails and the video (this may distort the thumbnail as youtube.com sends them out at a predetermined size)

    Also:
    1. you can put the gallery in a page or post
    2. you can get a random video thumbnail to place on the sidebar
    3. you can specify if the thumbnails will be in li or div or something else or nothing.
    4. you can specify if the thumbnails will launch the video in a new window
    5. the communication with youtube is cached, so not every request to your gallery will cause a hit to the youtube.com site

  2. allthewhile
    Member
    Posted 8 years ago #

    Dude, you are my hero! you're a genius! Wait, where's the download??!?!?!?!

  3. VaamYob
    Member
    Posted 8 years ago #

    I'll wait for some feedback first, then make any changes/improvements and finally release it.

    Patience.

  4. allthewhile
    Member
    Posted 8 years ago #

    I like what you have so far. If you launch the video into a new page, do you still have the main video window up top?

    Does it sort chronologically?

  5. Carrie
    Member
    Posted 8 years ago #

    Wow that is really cool. I'll be watching for it.

  6. VaamYob
    Member
    Posted 8 years ago #

    It's almost ready.
    Thumbnails launching a new browser window only makes sense if the thumbnail is not part of a gallery (i.e. on a sidebar or something).

    I'm adding these new features:
    1. sort by name/date/rating in ascending/descending order
    2. filter by category

    Once those two are done, I'll freeze the featureset and release the plugin.

  7. allthewhile
    Member
    Posted 8 years ago #

    A few thoughts/ideas. With the gallery, if I have 30 or so videos does it sort it into new pages, or does it just show all of them? Also, preferably, I'd like to have just the thumbnails and then clicking on the thumbnail opens up to a new page entirely (not a pop up, but a page by itself), but

    Also, can I call the title of the video? I'd like to be able to ad the title to the thumbnails or on the pages itself.

  8. VaamYob
    Member
    Posted 8 years ago #

    I'm in the process of adding "meta-data" to what is being displayed: i.e. rating/views/comment counts/title etc. I just have to work out the div structure.

  9. allthewhile
    Member
    Posted 8 years ago #

    I'm have a little trouble with the installation. It's breaking my layout bigtime. I'll play with it some more.

    http://www.franklinfamily.org/videos/

    Also, how do I get the sidebar on my frontpage?

    Thanks,

    Jayson

  10. VaamYob
    Member
    Posted 8 years ago #

    You get the sidebar by modifying your theme to have a sidebar.

    The plugin generates plain old xhtml. I'd suggest you add my sample css entries to your style.css file, as a start.

  11. allthewhile
    Member
    Posted 8 years ago #

    Yamm, I have a sidebard in my theme (I've just modified kubrick). However, when I add the following code to my theme's sidebar:

    <!--yt_thumbs-->

    nothing shows up. I guess I'm not understanding the process completely. Thanks for the help, and great plugin, btw.

  12. allthewhile
    Member
    Posted 8 years ago #

    I've added the css you suggested. It does style the page, but the theme is still broken. I tried it with about 3 other themes, and the same thing still happens. I'm going to take a look at the code you used. I'm confused by the problem.

  13. VaamYob
    Member
    Posted 8 years ago #

    Yeah, those tags only work inside the Loop.

    Outside the loop (i.e. in sidebars), you can call:

    yt_output_random_user_thumb()

    i.e.

    <?php yt_output_random_user_thumb(); ?>

  14. VaamYob
    Member
    Posted 8 years ago #

    I'll document what calls to make to get the desired effects.

  15. allthewhile
    Member
    Posted 8 years ago #

    Thanks man! Is there any way to call the header, footer, and sidebar on the following page:

    thetube.php

    ?

    I tried putting the php calls to the header, footer, and sidebar but it didn't quite work out as planned.

  16. VaamYob
    Member
    Posted 8 years ago #

    It's just a plain php file, so yes, you can do all that.

    You just have to figure out the pathings... I'll figure it out and change thetube.php.

  17. allthewhile
    Member
    Posted 8 years ago #

    Yaam, I added the css as you suggested, but there is still an issue with it working with my theme. I tried switching themes and I got the same result. Something in the code is causing the background to disapear.

    http://www.franklinfamily.org/videos/

    If you could assist me with this problem, I would be truly thankful.

  18. allthewhile
    Member
    Posted 8 years ago #

    there's a "</div>" missing in the code that I need to add. When I add it to my theme's page template it shows up fine, but then the other pages are broken. I'm looking through the code now.

  19. VaamYob
    Member
    Posted 8 years ago #

    I've added some comments in the generated html that should help troubleshoot this. Can you try the latest version and let me know ?

    You might also want to try:
    .yt_gallery_footer {
    width:0px;
    clear:left;
    }

    instead of
    .yt_gallery_footer {
    width:0px;
    clear:both;
    }

  20. allthewhile
    Member
    Posted 8 years ago #

    The new version works great!

    http://www.franklinfamily.org/videos/

    There are a few things that I'd liked changed, but I think I might be able to figure it out!

    Thanks,

    Jayson

  21. VaamYob
    Member
    Posted 8 years ago #

    If you're talking about the meta-data and thumbnails overlapping, that is defined via css.

  22. allthewhile
    Member
    Posted 8 years ago #

    I don't see them overlapping, I've looked at it in firefox and internet explorer. Maybe you're using another browser?

    There's one thing That I would change that I think would be major, but would help and that would be to cache the thumbnails to a file on the user's server. Firstly, I think that youtube would appreciate this, as it would probably cut down on their bandwidth, but secondly, I can't get youtube to load them without taking forever.

    The second thing that is minor, that I might be able to figure out, is to take away the video showing up with the gallery, and a click sends the user to another page (thetube.php) instead of playing it in that page. That's just a preference thing, but that's the way I envision it.

  23. VaamYob
    Member
    Posted 8 years ago #

    The second thing is already done. That's what the "YT Thumbnails" does. It places the thumbnails in your post/page without the video viewer. Clicking on the thumbnails shows the video in thetube.php

    I thought about the idea of caching thumbnails locally. I just wasn't sure if anybody would ask for it. I'll add that in.

  24. VaamYob
    Member
    Posted 8 years ago #

    I've added thumbnail caching in addition to xml caching. Please get latest version of plugin.

    You'll notice that the gallery loads TONS faster now.

    http://www.xyooj.com/blog/plink/technical/27/wordpress-youtube-video-gallery-plugin/

  25. allthewhile
    Member
    Posted 8 years ago #

    The gallery does load way faster now! Awesome. Is there a way, however, to make the thumbnails from "yt thumbnails" not open up a new browser? That didn't used to be that way, but now it seems that way. I know I ask a lot!

  26. VaamYob
    Member
    Posted 8 years ago #

    Ok, if you examine the code, you can call it with parameters to specify how it works.

    I've changed the default back to not open up a new window.

    If you get the latest zip file, it'll have these changes.

  27. xtremeyouth
    Member
    Posted 8 years ago #

    I have got the gallery working and it looks great except for the fact that none of my videos are displaying the thumbnails, just a white box with an X. Please, someone help me!! They work, just no thumbnails.

  28. dead_soul
    Member
    Posted 8 years ago #

    Can you plz tell me how I can put my own gallery using this plugins.I asked FAQ section of xyooj.com.But i didnt get reply.Can anyone plz tell me how I can put my own gallery .Because everytime I am click YTGALLERY button.IT's giving me the Gallry which is in xyooj.com website.What can I do to call my own favorite playlist from youtube?

  29. stashy
    Member
    Posted 8 years ago #

    I figured out how to put my own videos (options--> mytube--> then put your userID) But ranecode says with v1.1 favorites videos can be used insead of just ones i upload to youtube. How do i use my favorites list?

  30. stashy
    Member
    Posted 8 years ago #

    Got it. Without rich-text-editor, a button ytfavorites will appear. Hit that and wallah...favorites from youtube.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags