Viewing 1 replies (of 1 total)
  • lyvsy

    (@lyvsy)

    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.