Set audio player to width: 100% and avoid breaking the layout in iOS when we fall back to a link.
props markjaquith, davidjlaietta. fixes #24896. git-svn-id: http://core.svn.wordpress.org/trunk@24948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -910,6 +910,7 @@ function wp_audio_shortcode( $attr ) {
|
||||
'loop' => $loop,
|
||||
'autoplay' => $autoplay,
|
||||
'preload' => $preload,
|
||||
'style' => 'width: 100%',
|
||||
);
|
||||
|
||||
// These ones should just be omitted altogether if they are blank
|
||||
|
||||
Reference in New Issue
Block a user