function( $, undefined ) { setTimeout(function(){ var videoHeight = $('.wp-video-shortcode').height(); var videoWidth = $('.wp-video-shortcode').width(); var isPortrait = videoHeight > videoWidth ? true : false; if(isPortrait) { $('.mejs-mediaelement, .mejs-container, video.wp-video-shortcode').css('maxHeight', 400) } }, 500) }( jQuery ) );

Skip links

Main navigation