Autoplay videos with sound were supported with transient navigation on iOS 16.4 beta. However, with the official release of iOS 16.4 today, this feature no longer works. Is this intentional? Steps to reproduce: 1. Goto https://static.vg.no/mads_test/nav-video.html in latest public release (not beta) 2. Click "Navigate to video with autoplay + sound" 3. Video does not autoplay.
Safari 16.4 is matching Firefox Nightly 113 while Chrome Canary 114 auto-plays the video. Safari Technology Preview 166 also does not autoplay video. Although WebKit ToT auto plays this in Minibrowser.
<rdar://problem/107604939>
Navigation should not result in transient activation. Websites should not get free rein to perform actions that require a user gesture just because a user clicked on a link to navigate to that website. Tested against the link above: - Firefox 112.0.2 does not allow the media to play on navigation (though it doesn't display the `navigator.userActivation.isActive:` line. - Chrome 113.0.5672.63 allows the media to play with audio on navigation, but it displays: `navigator.userActivation.isActive: false` - Chrome with the setting "Don't allow sites to play sound" enabled plays the media back muted, and also displays: `navigator.userActivation.isActive: false`. - ToT Safari refuses to play the unmuted video, and displays: `navigator.userActivation.isActive: false` The difference in behavior between Chrome, Firefox, and Safari is that Chrome allows video to play with audio by default, and Firefox & Safari do not.