You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the video block, if the Loop, Muted, or Play Inline options are enabled without selecting Playback Controls, the video does not play on the frontend.
Step-by-step reproduction instructions
Add a new post
Insert a 'Video' Block
Add a video to the video block
Navigate to the settings panel present on the right panel
Try to toggle on 'Mute' / 'Loop' / 'Play inline' option ( either or all )
Save the post and check the frontend
Notice that the video looks like a thumbnail / static image
Go back the editor and toggle on the 'Playback controls'
Save the post and check the frontend
Notice that the video starts playing
Screenshots, screen recording, code snippet
Screen.Recording.2025-02-23.at.9.19.11.PM.mov
Environment info
WordPress 6.7.2
Gutenberg 20.3.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Block
Classic
Hybrid (e.g. classic with theme.json)
Not sure
The text was updated successfully, but these errors were encountered:
So my idea to fix this is quite similar to how #69218 was fixed
When Loop, Muted, or Play Inline are selected whether independently, in combination, or all at once, the Playback Controls should be toggled on and disabled.
When Autoplay is toggled on then the user should have the flexibility to work with the Loop, Play Inline and Playback Control Independently
@Rishit30G, yes, I think we can use the previous PR as a starting point for proposed fixes. However, since the issue is getting more complicated, we might need to define the attribute relations somehow.
Additionally, let's review the spec for the video element, create a table of required/connected attributes and handle them all at once.
Description
When using the video block, if the Loop, Muted, or Play Inline options are enabled without selecting Playback Controls, the video does not play on the frontend.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2025-02-23.at.9.19.11.PM.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: