-<div class="changelog">
- <h3><?php _e( 'Support for Audio and Video' ); ?></h3>
-
- <div class="feature-section images-stagger-right">
- <div class="video image-66"><?php
- $sample_video = ( is_ssl() ? 'https://' : 'http://s.' ) . 'wordpress.org/images/core/3.6/sample-video';
- $args = array(
- 'mp4' => "$sample_video.mp4",
- 'ogv' => "$sample_video.ogv",
- 'width' => 625,
- 'height' => 360,
- );
- // Opera 12 (Presto, pre-Chromium) fails to load ogv properly
- // when combined with ME.js. Works fine in Opera 15.
- // Don't serve ogv to Opera 12 to avoid complete brokeness.
- if ( $GLOBALS['is_opera'] )
- unset( $args['ogv'] );
- // Our current ME.js API is limited to shortcodes in posts.
- echo wp_video_shortcode( $args );
- ?></div>
- <h4><?php _e( 'New Media Player' ); ?></h4>
- <p><?php _e( 'Share your audio and video with the new built-in HTML5 media player. Upload files using the media manager and embed them in your posts.' ); ?></p>
-
- <h4><?php _e( 'Embed Music from Spotify, Rdio, and SoundCloud' ); ?></h4>
- <p><?php _e( 'Embed songs and albums from your favorite artists, or playlists you’ve mixed yourself. It’s as simple as pasting a URL into a post on its own line.' ); ?></p>
- <p><?php printf( __( '(Love another service? Check out all of the <a href="%s">embeds</a> that WordPress supports.)' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
- </div>
-</div>