From c31acbfe7ed7d5450ecd25fbc218981ca0a1ce08 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Mon, 20 Feb 2017 13:00:19 +0000 Subject: [PATCH] About page: Remove `autoplay` and `loop` attributes on "Theme Starter Content", "Edit Shortcuts", and "Video Headers" videos, originally added as a part of [39512]. For UX and accessibility reasons, it's better to always avoid playing videos automatically. Props bor0. Fixes #39560. git-svn-id: https://develop.svn.wordpress.org/trunk@40089 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 555903bcde..8c6fb12509 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -78,8 +78,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); echo wp_video_shortcode( array( 'mp4' => 'https://s.w.org/images/core/4.7/starter-content-v1.mp4', 'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2', - 'loop' => true, - 'autoplay' => true, 'width' => 1140, 'height' => 624, // 'class' => 'wp-video-shortcode feature-video', @@ -95,8 +93,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); echo wp_video_shortcode( array( 'mp4' => 'https://s.w.org/images/core/4.7/edit-shortcuts-v1.mp4', 'poster' => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v2', - 'loop' => true, - 'autoplay' => true, 'width' => 2520, 'height' => 1454, // 'class' => 'wp-video-shortcode feature-video', @@ -110,8 +106,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); echo wp_video_shortcode( array( 'mp4' => 'https://s.w.org/images/core/4.7/header-video-v1.mp4', 'poster' => 'https://s.w.org/images/core/4.7/header-video.jpg?v2', - 'loop' => true, - 'autoplay' => true, 'width' => 2520, 'height' => 1454, // 'class' => 'wp-video-shortcode feature-video',