From cdbfb39e038936fb60894158acdf5e76886d4f21 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 27 Jul 2020 13:13:32 +0200 Subject: [PATCH 1/2] remove comma and cleanup formatting --- .../tabs/settings-global-video-transformations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php b/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php index 6caa367cb..63ec21efa 100644 --- a/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php +++ b/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php @@ -64,7 +64,7 @@ // translators: Placeholders are tags. __( 'Please note that when choosing "always", the video will autoplay without sound (muted). This is a built-in browser feature and applies to all major browsers.%1$sRead more about muted autoplay%2$s', 'cloudinary' ), '
', - '', + '' ), ), From 0bfa56fed943425afa2664c254b6ff8ad47936bd Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 27 Jul 2020 13:13:53 +0200 Subject: [PATCH 2/2] cleanup formatting --- .../tabs/settings-global-video-transformations.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php b/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php index 63ec21efa..f9386a812 100644 --- a/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php +++ b/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ui-definitions/tabs/settings-global-video-transformations.php @@ -48,19 +48,19 @@ ), ), 'video_autoplay_mode' => array( - 'label' => null, - 'prefix' => __( 'Autoplay:', 'cloudinary' ), - 'type' => 'select', - 'default' => 'never', - 'choices' => array( + 'label' => null, + 'prefix' => __( 'Autoplay:', 'cloudinary' ), + 'type' => 'select', + 'default' => 'never', + 'choices' => array( 'off' => __( 'Off', 'cloudinary' ), 'always' => __( 'Always', 'cloudinary' ), 'on-scroll' => __( 'On-Scroll (Autoplay when in view)', 'cloudinary' ), ), - 'condition' => array( + 'condition' => array( 'video_player' => 'cld', ), - 'description' => sprintf( + 'description' => sprintf( // translators: Placeholders are tags. __( 'Please note that when choosing "always", the video will autoplay without sound (muted). This is a built-in browser feature and applies to all major browsers.%1$sRead more about muted autoplay%2$s', 'cloudinary' ), '
',