WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
Features suggestion (17 posts)

  1. Max Chirkov
    Member
    Posted 3 years ago #

    Hi Matt,

    thanks for the plugin, it seems like a really useful solution. I would like to make a suggestion for new features. I appreciate your time and consideration. Let me know if any of this sounds interesting to you.

    1. I think it would be great if play lists could be mapped to categories. This way all the videos would be automatically categorized. There could be 2 options - automatically categorize, and queue playlists until they are manually mapped to selected categories. In first case the plugin would automatically try to find a category with the same named as the play lists, and file posts under them, or create new categories based on the play list names. In the second scenario all play lists are queue until they are mapped to specific categories.

    This would work excellent for play lists of favorite videos.

    2. Have an option to import video tags and automatically use those tags in their respective posts.

    Just imagine this example: You have a play list of tutorials - which are all filed under category Tutorials in your blog. Then each tutorial can have their own tags - one: banner, graphics, photoshop; second: linux ubuntu lucid 10.04. All of a sudden we have a fully automated solution that provides superior user experience (based on categories + tags) that doesn't require any manual alteration.

    I think this could be utilized just about by anyone, from personal blogs to small, medium and large businesses.

    Let me know if this is something you would consider adding to the plugin.

    Thank you for your time!

    Max

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

  2. enotecajoe
    Member
    Posted 3 years ago #

    This plugin isn't working for me. Is it working for you?

    I have php5 and WP 3.0. I've activated the plugin and my Youtube profile user name and all the settings seem to be right.

    I've uploaded a new videos to youtube but it hasn't showed up in Video Posts. I'm trying to figure out where I've gone wrong.

    Any help would be much appreciated.

  3. furioterzapi
    Member
    Posted 3 years ago #

    Hello Matt,

    Thanks for this great plugin.
    I have read and I endorse the suggestions written by maxchirkov, and I have another suggestion/request for the next release of the plugin.

    It would be very useful if the plugin could create and save for each new post the youtube thumbnail in a new custom field called "thumb".

    There are a number of "youtube clone" wordpress themes using this custom field, and with the current version of your release the thumbnails are missing.

    Example: YouBunga

    I guess that it should be possible to fill the "thumb" custom field by using the tern_wp_youtube_image function, but I don't know how. If someone knows a quick fix for this, please post the code here!

  4. mpraetzel
    Member
    Plugin Author

    Posted 3 years ago #

    maxchirkov,

    These are great suggestions. I'm not sure I'll get to the playlist one but your second request has been implemented in the newest version 2.0. I really appreciate your suggestions. Thank you.

    enotecajoe,

    Out of curiosity do you have a category selected for your second option on the settings page?

    furioterzapi,

    It is my belief that plugins should be as generic as possible to work with as many themes and fellow plugins as possible. This request is too specific. I would have to write it so that you could set the name of the custom meta data you wanted the image saved as. I'm not sure when I'll get to this. For now, you'll have to use the tern_wp_youtube_image function.

  5. enotecajoe
    Member
    Posted 3 years ago #

    Hi mpraetzel:
    Yes, I made a category called 'videos' and I have selected it from second option drop down menu on the settings page.
    Thanks!

  6. lecosmonaute
    Member
    Posted 3 years ago #

    About that tern_wp_youtube_image function, how would I go about implementing that into my loop? Say it looks something like that and I'd like to replace the <img> tag with this function... I'm really terrible with PHP.

    <div class="post">
    
    	<img src="video_thumbnail" class="thumb" />
    
    	<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    
    	<div class="content"><?php the_content(); ?></div> 
    
    </div>

    Also, is there any way to determine the thumbnail's size, or is that generated by YouTube?

  7. mpraetzel
    Member
    Plugin Author

    Posted 3 years ago #

    replace:
    <img src="video_thumbnail" class="thumb" />

    with this:
    <?php tern_wp_youtube_image(); ?>

  8. lecosmonaute
    Member
    Posted 3 years ago #

    yeah, I got it in the meantime. didn't think it was gonna be so easy. thanks for the quick reply!

  9. enotecajoe
    Member
    Posted 3 years ago #

    It's working! Awesome! It doesn't appear to auto-post though. I have it set to automatically post to the blog but the most recent video that I uploaded is only "scheduled".

  10. enotecajoe
    Member
    Posted 3 years ago #

    It looks like the new video posts are being scheduled for 6 hours in the future. I don't know why. Is there a way to change that? Also is there a way to check for new videos by minutes instead of hours?
    Thanks!

  11. stefank
    Member
    Posted 3 years ago #

    Hi Matt,

    I'm using a theme that uses preview pictures as small thumbnails as well as in a higher resolution within an image-slideshow. So I checked the source code of your plugin, changed the URL of the YouTube Preview to .../0.jpg (thats the biggest resolution youtube offers to my knowledge) and put the <?php tern_wp_youtube_image(); ?> tag into my source code. And bang it works!

    But I'm struggling when it comes to changing the scale of the image. And I also would like to crop each thumbnail on top and on the bottom (cause I don't like the letterbox bars). Another problem is that the image is changing the alignment of the picture and the text. It should be a small image on the right an headline, info-text (which is only appearing in the slideshow not on page generated by the loop.php),...

    This is how my code looks in my loop.php:
    Loop.php

    And this is how it looks in my slideshow.php:
    Slidshow.php

    I'm also bad at PHP, is there an (easy) solution for this?
    Thanks!

  12. enotecajoe
    Member
    Posted 3 years ago #

    Hi Matt:
    Your Automatic Youtube post plugin is working but for
    some reason it won't post for 8 hours. All the videos are scheduled for 8 hours later. I'm wondering if it has something to do with the server time? Have you ever heard of this happening? My servers are either in the middle of the USA, I think. So, the hours should only be different by a couple hour. Any advice would be much appreciated.
    Thanks!
    Joe

  13. mpraetzel
    Member
    Plugin Author

    Posted 3 years ago #

    Stefank, for scaling and cropping images I'd look into PHP's GD library functions.

    http://php.net/manual/en/book.image.php

    You could write a script that when importing the videos creates cached versions of the thumbs.
    ===============================

    enotecajoe, there is a setting for how often to import videos. please read here:
    http://www.ternstyle.us/products/plugins/wordpress/wordpress-automatic-youtube-video-posts/wordpress-automatic-youtube-video-posts-settings

  14. lunddogg
    Member
    Posted 3 years ago #

    Matt,

    When we import videos from YouTube using your plugin, the date and time always import to WordPress as Jan 1, 1969 at 00:01. Do you have any idea what might be causing this issue?

    Thanks,
    John

  15. zeug
    Member
    Posted 3 years ago #

    Plugin is working smoothly for my YouTube gallery as a backend single post addon to Tubepress. One snag I've hit though is it doesn't seem to trigger Subscribe2 email announcements of new videos.

    Subscribe2 uses the Post status transitions hook to detect new posts and your plugin doesn't seem to trigger the hook. Have had a trawl through the code but can't find where to put the add_action to get this working.

    Any ideas or future updates for this functionality?

  16. naeemazizian
    Member
    Posted 3 years ago #

    Hi,
    I have a template that requires post_type to be 'videos' for videos to show up and I can get this to work. I added a line in parse.php
    $a = array(
    'post_title' => $w['title']['value'],
    'post_content' => $s,
    '_tern_wp_youtube_author' => $w['author']['name'],
    'tags_input' => $t,
    'post_date' => gmdate('Y-m-d H:i:s',strtotime($w['published'])),
    'post_type' => 'videos'
    );

    I also added the same line to config.php
    It will change the post_type to videos and they appear in the right place, but the tags don't link to each post.

    I'd would also be helpful if duration of each video is also imported.

  17. lchopkins1
    Member
    Posted 2 years ago #

    I like that you have the option of "YouTube Video" box in posts, can you also make this available for pages? Or is there a way to insert a video into a page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic