WordPress 3.9.1
[autoinstalls/wordpress.git] / wp-includes / media-template.php
index 202fd0747b05c03eac2d3d172a90453bdb3fdf00..25354618d90e279b4512d93fc8c2b9d60cc5403b 100644 (file)
@@ -16,7 +16,8 @@
 function wp_underscore_audio_template() {
        $audio_types = wp_get_audio_extensions();
 ?>
-<audio controls
+<audio style="visibility: hidden"
+       controls
        class="wp-audio-shortcode"
        width="{{ _.isUndefined( data.model.width ) ? 400 : data.model.width }}"
        preload="{{ _.isUndefined( data.model.preload ) ? 'none' : data.model.preload }}"
@@ -853,15 +854,14 @@ function wp_print_media_templates() {
                                </div>
 
                                <label class="setting checkbox-setting">
-                                       <span><?php _e( 'Autoplay' ); ?></span>
                                        <input type="checkbox" data-setting="autoplay" />
+                                       <span><?php _e( 'Autoplay' ); ?></span>
                                </label>
 
                                <label class="setting checkbox-setting">
-                                       <span><?php _e( 'Loop' ); ?></span>
                                        <input type="checkbox" data-setting="loop" />
+                                       <span><?php _e( 'Loop' ); ?></span>
                                </label>
-                               <div class="clear"></div>
                        </div>
                </div>
        </script>
@@ -944,15 +944,14 @@ function wp_print_media_templates() {
                                </div>
 
                                <label class="setting checkbox-setting">
-                                       <span><?php _e( 'Autoplay' ); ?></span>
                                        <input type="checkbox" data-setting="autoplay" />
+                                       <span><?php _e( 'Autoplay' ); ?></span>
                                </label>
 
                                <label class="setting checkbox-setting">
-                                       <span><?php _e( 'Loop' ); ?></span>
                                        <input type="checkbox" data-setting="loop" />
+                                       <span><?php _e( 'Loop' ); ?></span>
                                </label>
-                               <div class="clear"></div>
 
                                <label class="setting" data-setting="content">
                                        <span><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></span>