bsetter
Forum Replies Created
-
Forum: Plugins
In reply to: [Background Manager] Getting Overlay to work but not images.Ok it seems to work perfectly if I disable Size = Full Screen…. there seems to be a problem with how the plugin handles full screen.
Forum: Plugins
In reply to: [Adminimize] Menu Options Still Showing after DeactivateAll of the sudden it started working. Not sure why but happy it did 🙂
Dumb youtube…. those lazies…
Thanks for getting back to me…. and if you feel so inclined to writ a little check code for the maxredefault.jpg that’d be nifty!
One final thought…. would it be possible to alter the plugin so that if the maxresdefault.jpg does not exist then downgrade to the 0.jpg image file? I’m not sure how to write that php though….
Just discovered that this only kind of works….. some of the videos don’t have this maxresdefault.jpg image….. what to do, what to do?
If I change this line of code in the plugin:
$youtube_thumbnail = 'http://img.youtube.com/vi/' . $matches[1] . '/0.jpg';to:
$youtube_thumbnail = 'http://img.youtube.com/vi/' . $matches[1] . '/maxresdefault.jpg';it fixes the problem but uses a HUGE image file. Is there any other way to maintain 16×9?
…..And it looks like the plugin is grabbing the 4:3 thumbnail rather than the 16:9 thumbnail.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Thumbs stopped working?…Ok so I figured it out…. It turns out that if I have the custom field defined in the plugin settings it overrides the plugin’s ability to search the post content for the video url.
What is happening with my site specifically is that I have a custom post type for my video portfolio that uses a custom field for my video URLs however for my site’s blog I am simply pasting in the vimeo embed code directly into the post content. My reasoning behind doing it this way is two fold, (1) I wanted videos on my blog to appear in RSS readers and (2) I wanted videos in my portfolio to appear with a very specific layout.
Not sure if you have any ideas for a better solution than each time I write a blog post having to go into the plugin settings to remove the defined custom field and then when I want to post a portfolio video having to go back into the plugin settings to redefine the custom field.
I wonder if you could have a check box on the write post page that asks “pull from custom field”. I’m even thinking it could be cool to extend the plugin a little further by having the ability to define multiple custom field values in the plugin settings so that then on the write post page in the dialogue box there would be a drop-down to able to choose what source to pull the video thumbnail from, that being post content, custom field A, custom field B, etc…. THAT WOULD BE SICK!
Thanks 🙂
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Thumbs stopped working?…Just dealing with 1 video on 1 post. In my most recent post for the day… Also I just tried again and it’s been about 4 hours since last attempt.
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Thumbs stopped working?…For some reason the plugin just stopped being able to find vimeo thumbnails. Keeps saying “We didn’t find a video thumbnail for this post.”
Here’s my vimeo embed code:
<iframe src="http://player.vimeo.com/video/20249114?title=0&byline=0&portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>I’m running the latest version 1.8 of the plugin.
Thanks,
Forum: Plugins
In reply to: [Video Thumbnails] Not pulling thumbnails from custom post typeI ended up getting it working with my initial code, not sure what was going wrong at first. And I ended up going that route because I didn’t want to save the thumbnails to my site because I wanted those to remain dynamic in hope that they would change if I change them on vimeo.
Forum: Plugins
In reply to: [Video Thumbnails] Not pulling thumbnails from custom post typeAnd…. here’s how I am displaying the custom post type yet the video thumbnail is not working. Thanks…
<?php $looptwo = new WP_Query( array( 'post_type' => 'video-portfolio', 'posts_per_page' => 4 ) ); ?> <?php while ( $looptwo->have_posts() ) : $looptwo->the_post(); ?> <article> <div class="image"> <a href=""> <?php if( ( $video_thumbnail = get_video_thumbnail() ) != null ) :?> <img src="<?php video_thumbnail(); ?>" alt=""/> <? elseif(has_post_thumbnail()) : ?> <?php the_post_thumbnail(); ?> <?php else :?> <?php endif;?> </a> </div><!-- end image --> <div class="description"> <h3><a href=""><?php the_title(); ?></a></h3> </div><!-- end description --> <div class="clearfix"></div> </article> <?php endwhile; ?> <?php wp_reset_query(); ?>Forum: Plugins
In reply to: [Video Thumbnails] Not pulling thumbnails from custom post typeI’m in a similar situation were the video thumbnails are not pulling from any of my custom post types. Any help you can offer would be greatly appreciated.
Here’s my functions.php file currently for my custom post type.
//Video Portfolio Post Type register_post_type('video-portfolio', array( 'label' => 'Video Portfolio','description' => '','public' => true,'show_ui' => true,'show_in_menu' => true,'capability_type' => 'post','hierarchical' => false,'rewrite' => array('slug' => ''),'query_var' => true,'has_archive' => true,'supports' => array('title','editor','thumbnail',),'labels' => array ( 'name' => 'Video Portfolio', 'singular_name' => 'Project', 'menu_name' => 'Video Portfolio', 'add_new' => 'Add Project', 'add_new_item' => 'Add New Project', 'edit' => 'Edit', 'edit_item' => 'Edit Project', 'new_item' => 'New Project', 'view' => 'View Project', 'view_item' => 'View Project', 'search_items' => 'Search Video Portfolio', 'not_found' => 'No Video Portfolio Found', 'not_found_in_trash' => 'No Video Portfolio Found in Trash', 'parent' => 'Parent Project', ),) ); register_taxonomy('project-type',array ( 0 => 'video-portfolio', ),array( 'hierarchical' => true, 'label' => 'Project Type','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'project-type') );