Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@
),
),
'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 <a> 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' ),
'<br><a href="https://developers.google.com/web/updates/2016/07/autoplay" target="_blank">',
'</a>',
'</a>'
),
),

Expand Down