From 4284ddfa051cda85456964f5ea8365d874d6a71a Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 6 Dec 2016 04:00:32 +0000 Subject: [PATCH] About page: Imagery and beautification. Still to come: responsive images, optimized videos, and CDN URLs. props melchoyce, helen, ramiabraham. see #38616. git-svn-id: https://develop.svn.wordpress.org/trunk@39512 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 81 +++++++++++++++++++++++++++----------- src/wp-admin/css/about.css | 46 +++++++++++----------- 2 files changed, 81 insertions(+), 46 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 1876a942fd..ba6c88610b 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -18,22 +18,7 @@ if ( ! wp_is_mobile() ) { ) ); } -/** - * Replaces the height and width attributes with values for full size. - * - * wp_video_shortcode() limits the width to 640px. - * - * @since 4.6.0 - * @ignore - * - * @param $output Video shortcode HTML output. - * @return string Filtered HTML content to display video. - */ -function _wp_override_admin_video_width_limit( $output ) { - return str_replace( array( '640', '384' ), array( '1050', '630' ), $output ); -} - -$video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true'; +$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true'; $lang_code = str_replace( '_', '-', get_user_locale() ); list( $lang_code ) = explode( '-', $lang_code ); if ( 'en' !== $lang_code ) { @@ -65,29 +50,72 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
-
+

-

+

+


-
+

-

+

+
-

-

+
+
+

+

+
+
+ 'https://cldup.com/drMtx9mh_D.mp4', + // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', + // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', + 'loop' => true, + 'autoplay' => true, + 'width' => 1140, + 'height' => 624, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?> +

+ 'https://cldup.com/PaNFgzdnna.mp4', + // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', + // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', + 'loop' => true, + 'autoplay' => true, + 'width' => 2520, + 'height' => 1454, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?>

+ 'https://cldup.com/qPvXxrut7L.mp4', + // 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm', + // 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1', + 'loop' => true, + 'autoplay' => true, + 'width' => 2520, + 'height' => 1454, + // 'class' => 'wp-video-shortcode feature-video', + ) ); + ?>

@@ -95,23 +123,27 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

+

+


-
+

+

+

@@ -120,7 +152,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-

+

+