[wp-trac] [WordPress Trac] #42718: Video shortcode needs muted attribute for Autoplay to work with Safari 11.0.1+

WordPress Trac noreply at wordpress.org
Sun Jul 7 14:21:00 UTC 2019


#42718: Video shortcode needs muted attribute for Autoplay to work with Safari
11.0.1+
--------------------------------------+------------------------------
 Reporter:  deeptiboddapati           |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Shortcodes                |     Version:  3.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by sc456a):

 Just in case someone is looking for a quick fix, the following code should
 work:


 {{{
 <video autoplay loop muted playsinline>
 <source src="video.mp4" type="video/mp4">
 </video>
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42718#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list