diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 6149ac7819..04a8556691 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -21,6 +21,12 @@ if ( current_user_can( 'install_plugins' ) ) { wp_enqueue_script( 'plugin-install' ); } +$video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} wp_oembed_add_host_js(); @@ -42,6 +48,13 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); +
+ + +
+ +
+

@@ -83,7 +96,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 75a583b637..f466fd2240 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -181,7 +181,7 @@ /* 2.1 - Typography */ .about-wrap .headline-feature h2 { - margin: 50px 0 30px; + margin: 30px 0 30px; font-size: 2.2em; font-weight: 300; line-height: 1.3; @@ -226,11 +226,12 @@ /* 2.2 - Structure */ -.about-wrap .feature-video { +.about-wrap .headline-feature.feature-video { position: relative; margin: 40px 0; - padding-bottom: 56.25%; /* video is 1280 x 720 */ + padding-bottom: 56.25%; width: 100%; + max-width: 100%; height: 0; text-align: center; }