问题
LATER NOTE... Problem went away after about 24 hours. Reported by many customers.
My website has embedded youtube videos. They have worked fine for years.
Beginning on Jan 29, 2020, my customers began to report the embedded videos not working on mobile Safari. I tried to play them on Safari on iOS 12.1.4 with the same result... they fail to play. Works fine on desktop Chrome browser.
The following test embed code is copied from youtube with no modifications.
I've tried it at several domains with the same result:
Plays fine on desktop Chrome, fails to play on iOS Safari.
Out of the blue... Can anyone else reproduce this?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<iframe width="560" height="315" src="https://www.youtube.com/embed/9YffrCViTVk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</body>
</html>
https://jsfiddle.net/sg2enahL/
来源:https://stackoverflow.com/questions/59988720/youtube-embeds-on-ios-safari-just-stopped-working-for-me-yesterday