Title: Plugin Conflict with
Last modified: August 30, 2016

---

# Plugin Conflict with

 *  [Zain Sohail](https://wordpress.org/support/users/zainsohail19/)
 * (@zainsohail19)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-conflict-with-1/)
 * Hello Guys,
 * I have been using this plugin and its really very good. I just have a simple 
   problem, I am also using a plugin called [Video Thumbnails](https://wordpress.org/plugins/video-thumbnails/)
   to use the video image as the featured image of the post. The Youtube For WordPress
   plugin is conflicting with the [Video Thumbnails](https://wordpress.org/plugins/video-thumbnails/)
   plugin.
 * Can someone please guide me how to get it fixed? Below is the video of the error
   I get when I add a new video.
 * [http://take.ms/Cg8QO](http://take.ms/Cg8QO)
 * [https://wordpress.org/plugins/wp2yt-uploader/](https://wordpress.org/plugins/wp2yt-uploader/)

Viewing 1 replies (of 1 total)

 *  [lyvsy](https://wordpress.org/support/users/lyvsy/)
 * (@lyvsy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-with-1/#post-6682864)
 * The same problem with Auto Post Thumbnails Pro.
    But the cause is in classes/
   class.youtube-for-wordpress.php. When PHP code breaks to include javascript script
   on lines 5040 – 5064
 *     ```
       ?>
       							<script type="text/javascript">
       								// resize yt plus videos function
       								// called below
       								function resize_yt_plus_videos() {
       									jQuery('.wp-video').each(function() {
       										var video_width = jQuery(this).width();
       										var new_height = ( video_width / 1.8 );
       										jQuery(this).css( 'height' , new_height );
       									});
       								}
   
       								jQuery(document).ready(function() {
   
       									// load funciton to prevent wierdness
       									resize_yt_plus_videos();
   
       									// resize function
       									jQuery(window).resize(function() {
       										resize_yt_plus_videos();
       									});
   
       								});
       							</script>
       <?php
       ```
   
 * I have removed those lines and everything seems to work ok.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Conflict with’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp2yt-uploader_d8e1bb.svg)
 * [YouTube for WordPress](https://wordpress.org/plugins/wp2yt-uploader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp2yt-uploader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp2yt-uploader/)
 * [Active Topics](https://wordpress.org/support/plugin/wp2yt-uploader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp2yt-uploader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp2yt-uploader/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lyvsy](https://wordpress.org/support/users/lyvsy/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-conflict-with-1/#post-6682864)
 * Status: not resolved