Skip to content

Commit

Permalink
Video: fix react component warning error (WordPress#68762)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored and Gulamdastgir-Momin committed Jan 23, 2025
1 parent d20907f commit 081451d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/video/edit-common-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const VideoSettings = ( { setAttributes, attributes } ) => {
/* translators: Setting to play videos within the webpage on mobile browsers rather than opening in a fullscreen player. */
label={ __( 'Play inline' ) }
onChange={ toggleFactory.playsInline }
checked={ playsInline }
checked={ !! playsInline }
help={ __(
'When enabled, videos will play directly within the webpage on mobile browsers, instead of opening in a fullscreen player.'
) }
Expand Down

0 comments on commit 081451d

Please sign in to comment.