[wp-trac] [WordPress Trac] #61398: Missing src attribute on <audio> tag prevents m4a audio files playing in safari.

WordPress Trac noreply at wordpress.org
Fri Jun 14 07:08:31 UTC 2024


#61398: Missing src attribute on <audio> tag prevents m4a audio files playing in
safari.
--------------------------+------------------------------
 Reporter:  ericmulder    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by ericmulder):

 Thank you very much for validating and reproducing the bug. To clarify,
 when you use the wp-mediaelement packages the problem doesn't occur since
 that js package adds the src element to the <audio> tag. We found the
 issue using an in-app browser in our app on iOS (which apparently doesn't
 load the wp-mediaelement)

 Good to see that the patch works, please take into account this is a
 hotfix from our side to not tinker with the WP core code and use a filter.
 I believe the pull request will be the permanent fix for this issue:
 https://github.com/WordPress/wordpress-develop/pull/6755

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


More information about the wp-trac mailing list