Title: Can&#8217;t make the videos responsive on Loop
Last modified: November 20, 2017

---

# Can’t make the videos responsive on Loop

 *  Resolved [carinalves](https://wordpress.org/support/users/carinalves/)
 * (@carinalves)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/responsive-video-on-loop/)
 * Hi,
 * Once I installed the plugin, it didn’t work out of the box in the theme post 
   loop, so I added a line or two of code, but I can’t for the love of god get the
   videos to be responsive…
 * here’s the code:
 *     ```
       <div class="post-img-wrapp">
            <a href="<?php echo esc_url( get_permalink() ); ?>">
                     <?php if (has_post_video ()) {
                         echo get_the_post_video( $post_id, 'medium');
                     } else {
                         echo basel_get_post_thumbnail( 'large' );
                     } ?>
            </a>
       </div>
       ```
   
 * What can I do?
 * Thanks in advance!
    -  This topic was modified 8 years, 6 months ago by [carinalves](https://wordpress.org/support/users/carinalves/).
    -  This topic was modified 8 years, 6 months ago by [carinalves](https://wordpress.org/support/users/carinalves/).
    -  This topic was modified 8 years, 6 months ago by [carinalves](https://wordpress.org/support/users/carinalves/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [carinalves](https://wordpress.org/support/users/carinalves/)
 * (@carinalves)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/responsive-video-on-loop/#post-9724957)
 * Hi again,
 * I eventually solved the issue by wrapping the video in a new class (I was inspired
   by this [fiddle](http://jsfiddle.net/omarjuvera/8zkunqxy/)). Hope it helps someone
   who runs into the same problem.
 * Thanks anyway.
    -  This reply was modified 8 years, 6 months ago by [carinalves](https://wordpress.org/support/users/carinalves/).

Viewing 1 replies (of 1 total)

The topic ‘Can’t make the videos responsive on Loop’ is closed to new replies.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)

 * 1 reply
 * 1 participant
 * Last reply from: [carinalves](https://wordpress.org/support/users/carinalves/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/responsive-video-on-loop/#post-9724957)
 * Status: resolved