diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 97c7b14e4f..5ddce9ad9f 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -9,6 +9,8 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); +wp_playlist_scripts( 'audio' ); + $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); @@ -35,23 +37,28 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- + + + + +

- +

- +

- +

@@ -61,12 +68,101 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- +

- +
+
+ +
+
+ + + +

@@ -78,13 +174,22 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- + '//s.w.org/images/core/3.9/widgets.mp4', + 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv', + 'webm' => '//s.w.org/images/core/3.9/widgets.webm', + 'loop' => true, + 'autoplay' => true, + 'width' => 499 + ) ); + ?>

- +

diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 0f838e830f..44c85c8d29 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -175,7 +175,16 @@ .about-overview { margin-top: 40px; text-align: center; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); +} + +.about-overview .wp-video { + margin: 0 auto; +} + +.changelog .wp-playlist .wp-playlist-current-item img { + height: 64px; + width: auto; + max-width: 100%; } .about-wrap .feature-section { diff --git a/src/wp-includes/js/mediaelement/wp-playlist.js b/src/wp-includes/js/mediaelement/wp-playlist.js index b95730c7dd..02d6c232ac 100644 --- a/src/wp-includes/js/mediaelement/wp-playlist.js +++ b/src/wp-includes/js/mediaelement/wp-playlist.js @@ -162,7 +162,7 @@ }); $(document).ready(function () { - if ( ! $( 'body' ).hasClass('wp-admin') ) { + if ( ! $( 'body' ).hasClass( 'wp-admin' ) || $( 'body' ).hasClass( 'about-php' ) ) { $('.wp-playlist').each(function () { return new WPPlaylistView({ el: this }); }); diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 8154afe390..d4061170de 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1139,7 +1139,8 @@ function wp_playlist_scripts( $type ) { ?>