WordPress.org

Ready to get started?Download WordPress

Forums

Video Thumbnails
Plug in not generating thumbnails/feaured image (7 posts)

  1. Ximereds
    Member
    Posted 2 years ago #

    Hello there,

    I am hoping someone can help me resolve this. I installed the plug in and activated it. My theme(wp-slash) supports featured image so not sure why thumbnails are not being generated.

    The theme has a portfolio page that acts like a post. On the portfolio page it provides a field for embedding the html code from the video sites..

    The plug in offers the options to update the following post types that it finds:

    post
    page
    dt_gallery
    main_slider
    portfolio
    optionsframework

    I have enable them all and when I scan it, it displays a list with my current posts and pages and it says:

    Couldn't find a video thumbnail for this post.

    I am wondering if there is something I need to enter in the "custom field" and if yes how can I find the name?

    Please help! I am slowly learning about wordpress so your input would be greatly appreciate it :)

    Ximena

    http://wordpress.org/extend/plugins/video-thumbnails/

  2. Sutherland Boswell
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, you'll need to enter something in "custom field" if your theme has the embed code in a separate field. Somewhere in your theme's code you should find something like get_post_meta($post->ID, 'key');, but 'key' will be equal to something else like 'embed_code', and that is what you'll enter in the custom field setting. If you can't find what this value should be, ask the theme's creator what the title of the custom field should be.

  3. Ximereds
    Member
    Posted 2 years ago #

    Hi Boswell!
    Thanks for your reply.

    I finalle got the name of the custom filed from the theme people:

    video_html

    However, when I try using this, it still doesn't generate the thumbnail. Do you have any ideas what could be the reason for this?

    Thanks again for your assistance!

    Ximena

  4. Sutherland Boswell
    Member
    Plugin Author

    Posted 2 years ago #

    Make sure the "portfolio" post type is enabled in the plugin's settings. Can you share an example of the html you're using for a video?

  5. Ximereds
    Member
    Posted 2 years ago #

    Yeah Portfolio was already enabled.

    Here is an example:
    <iframe width="640" height="360" src="http://www.youtube.com/embed/BF_x3_0eLVI" frameborder="0" allowfullscreen></iframe>

    Just videos from youtube really.

  6. Sutherland Boswell
    Member
    Plugin Author

    Posted 2 years ago #

    They could be setting it as a hidden custom field, which means there's actually an underscore at the beginning. Try setting it to _video_html

  7. cardan
    Member
    Posted 2 years ago #

    Hello, sorry for bumping an old thread.

    I think I am on the same situation and add to that I can't access the Setting page for this plugin. Maybe it is a plugin conflict issue, but I don't think I can deactivate the other plugins (all are important).

    Is there a way to "bypass" the setting page? I look at the code and found this:

    <input name="video_thumbnails_custom_field" type="text" id="video_thumbnails_custom_field" value="<?php echo get_option( 'video_thumbnails_custom_field' ); ?>" />

    at the bottom and this near the top:

    if ( $video_key = get_option( 'video_thumbnails_custom_field' ) ) {
    			$markup = get_post_meta( $post_id, $video_key, true );

    I believe this is where we are inputting the custom field's name? How do I "bypass", so I can get my custom field name without opening the setting page? I am not good enough in PHP..

    Other than that, the plugin works fine if I directly embed the video to the post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic