Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#50111 closed enhancement (fixed)

Video header Safari compatibility

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

Description

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

Change History (4)

#1 @SergeyBiryukov
6 years ago

  • Component General → Customize

#2 @ocean90
6 years ago

  • Milestone Awaiting Review → 5.8

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


6 years ago
#3

  • Keywords has-patch added; needs-patch removed

#4 @ocean90
5 years ago

  • Owner set to ocean90
  • Resolution → fixed
  • Status new → 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.