Title: krill3's Replies | WordPress.org

---

# krill3

  [  ](https://wordpress.org/support/users/krill3/)

 *   [Profile](https://wordpress.org/support/users/krill3/)
 *   [Topics Started](https://wordpress.org/support/users/krill3/topics/)
 *   [Replies Created](https://wordpress.org/support/users/krill3/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/krill3/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/krill3/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/krill3/engagements/)
 *   [Favorites](https://wordpress.org/support/users/krill3/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Featured Video Plus] Custom post class on posts with featured videos?](https://wordpress.org/support/topic/custom-post-class-on-posts-with-featured-videos/)
 *  Thread Starter [krill3](https://wordpress.org/support/users/krill3/)
 * (@krill3)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-post-class-on-posts-with-featured-videos/#post-4272512)
 * Ah, used the nuclear option to get it to work (jQuery to check size of parent
   on load, switched iframe’s width to equal that, height to be 9/16 of height if
   that makes sense) less elegant but it works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Featured Video Plus] Custom post class on posts with featured videos?](https://wordpress.org/support/topic/custom-post-class-on-posts-with-featured-videos/)
 *  Thread Starter [krill3](https://wordpress.org/support/users/krill3/)
 * (@krill3)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-post-class-on-posts-with-featured-videos/#post-4272508)
 * Doh, sorry didn’t spot that, works a treat:
 *     ```
       <?php if (has_post_video($post->ID)): ?>
       <?php the_post_video();?>
       <?php elseif (has_post_thumbnail( $post->ID ) ): ?>
       <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
       <?php endif; ?>
       <div class="overlayImg" style="background-image: url('<?php echo $image[0]; ?>')">
       ```
   
 * Shows the video if there is one, otherwise the image as a background of a div.
 * Only one question remains: “When using auto the video will be adjusted to fit
   it’s parent element while sticking to it’s ratio.”
 * How do you get that to work with “the_post_video();” ? I set div.featured_video_plus
   to be 1000px wide and the div it loads into as well, player is still 560x3xx 
   much appreciate the support, very nicely made plugin (I’m just very good at php
   etc, I’m a front-end guy)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: NextGEN Gallery] The Flash Player and a browser with Javascript support are needed..](https://wordpress.org/support/topic/plugin-nextgen-gallery-the-flash-player-and-a-browser-with-javascript-support-are-needed/)
 *  [krill3](https://wordpress.org/support/users/krill3/)
 * (@krill3)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-the-flash-player-and-a-browser-with-javascript-support-are-needed/page/2/#post-739459)
 * I got the same issue, however the fixes above don’t work, and I don’t have wp-
   simpleviewer.
 * NextGEN Gallery 1.1.0
    Wordpress 2.7.1
 * [http://www.afot-o.se/](http://www.afot-o.se/)
 * anyone got any idea why this is happening?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments jumping one post / Not working.](https://wordpress.org/support/topic/comments-jumping-one-post-not-working/)
 *  Thread Starter [krill3](https://wordpress.org/support/users/krill3/)
 * (@krill3)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/comments-jumping-one-post-not-working/#post-685430)
 * Oh and yes it thinks the post that the comment should appear on got the comment.
   If I posted the comment to p19 it appears on p20, on the main page it claims 
   p19 has one comment and p20 doesn’t have any, while it’s actually the opposite.

Viewing 4 replies - 1 through 4 (of 4 total)