From 6ab5c9b5b7f911605dd8d7e93cfdece1cee5dae8 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Tue, 6 Dec 2016 06:54:12 +0000 Subject: [PATCH] About page: Resposive images and CDN media URLs. This adds `srcset` and `sizes` to the about page images, including art direction, via `` for the lead Twenty Seventeen image. This also replaces URLs for all images and feature videos to their CDN locations on s.w.org. Props helen, pento, joemcgill. Fixes #38616. git-svn-id: https://develop.svn.wordpress.org/trunk@39514 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index ba6c88610b..98918950b4 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -53,7 +53,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- + + + + +

@@ -72,9 +76,8 @@ 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', + 'mp4' => 'https://s.w.org/images/core/4.7/starter-content.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v1', 'loop' => true, 'autoplay' => true, 'width' => 1140, @@ -90,9 +93,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

'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', + 'mp4' => 'https://s.w.org/images/core/4.7/edit-shortcuts.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v1', 'loop' => true, 'autoplay' => true, 'width' => 2520, @@ -106,9 +108,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

'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', + 'mp4' => 'https://s.w.org/images/core/4.7/header-video.mp4', + 'poster' => 'https://s.w.org/images/core/4.7/header-video.jpg?v1', 'loop' => true, 'autoplay' => true, 'width' => 2520, @@ -123,12 +124,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +

- +

@@ -138,12 +139,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +

- +

@@ -153,7 +154,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +