WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 15 hours ago

#46248 new defect (bug)

Can't play a mp4 video no controls tag

Reported by: RaymondDay Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

Wow took me a long time with this new WordPress 1st time used a video in it and it showed just like a photo of it and clicking on it nothing.

I had to edit it in HTML and add a controls> near the end. So like this <video src="https://blog/wp-content/uploads/2019/02/video.mp4" controls> <video>

Then it worked.

Change History (1)

#1 @sabernhardt
15 hours ago

  • Component changed from General to Editor
  • Keywords reporter-feedback added
  • Version 5.0.3 deleted

@RaymondDay Hi and thanks for the report!

The video tag should include the controls attribute as long as the "Playback controls" toggle is selected. If so, the Play button and other controls would be visible in the editor and usable on the live site. However, controls are disabled within the editor.

Please try inserting a video into a video block now, and either preview or publish the post/page to verify that the controls attribute is used on the live page (and that you can play it there).

Note: See TracTickets for help on using tickets.