Ticket #29887: 29887.patch
| File 29887.patch, 606 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/js/mediaelement/wp-mediaelement.js
28 28 } 29 29 }; 30 30 31 // mediaelement needs the height that wp sets on .wp-video to correctly size the player 32 // but the container height should be set to auto for responsive video embeds 33 $('.wp-video').css('height', 'auto'); 34 31 35 $('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer( settings ); 32 36 }); 33 37