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

WordPress Trac noreply at wordpress.org
Wed Jun 4 12:14:13 UTC 2025


#61398: Missing src attribute on <audio> tag prevents m4a audio files playing in
safari.
-------------------------------------------------+------------------------
 Reporter:  ericmulder                           |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.9
Component:  Media                                |     Version:  6.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
-------------------------------------------------+------------------------

Comment (by soyebsalar01):

 ## โœ… Patch Test Report

 ### Purpose
 This report validates whether the proposed patch works as expected when
 applied to the current development build of WordPress.

 ### Patch Tested
 [https://github.com/WordPress/wordpress-
 develop/pull/6755.diff](https://github.com/WordPress/wordpress-
 develop/pull/6755.diff)

 ---

 ### ๐Ÿ”ง Test Details

 **Shortcode used in post:**

 ```shortcode
 [audio src="http://localhost/wordpresscore/wp-
 content/uploads/2025/05/test.m4a"]

 ๐Ÿงช Environment

     WordPress Version: 6.8-alpha-59274-src

     PHP Version: 8.1

     Operating System: macOS

 โœ… Actual Results

     Observed in Safari:

         The <audio> tag now correctly includes the src attribute.

         The audio player is rendered and functional.

 ๐Ÿ“Œ Conclusion

     Patch Status: โœ… Pass โ€“ The patch successfully ensures the src
 attribute is included in the <audio> tag.

     Playback Issue: โš ๏ธ Note โ€“ Safari's inability to play .m4a persists and
 appears to be a browser-level issue unrelated to WordPress core.

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


More information about the wp-trac mailing list