Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#50111 closed enhancement (fixed)

Video header Safari compatibility

Reported by: klevyke's profile klevyke Owned by: ocean90's profile ocean90
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.4.1
Component: Customize Keywords: has-patch
Focuses: ui, template Cc:


Video header does not start automatically in Safari.
Solution: add muted and playsinline attribute to video tag.

Change History (4)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Customize

#2 @ocean90
3 years ago

  • Milestone changed from Awaiting Review to 5.8

This ticket was mentioned in PR #1086 on WordPress/wordpress-develop by ocean90.

3 years ago

  • Keywords has-patch added; needs-patch removed

#4 @ocean90
3 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 50698:

Customize: Set playsinline attribute for custom header videos.

With the playsinline attribute the video can also autoplay on mobile browsers without asking the user to open it up fullscreen.
Also, change all video element properties to use boolean values.

Props klevyke, ocean90.
Fixes #50111.

Note: See TracTickets for help on using tickets.