Yup, it appears Safari is also blocking muted video's (that don't even have sound)...
I have found a workaround, but it isn't pretty and I'm not proud of it:
var ua = navigator.userAgent.toLowerCase();
var is_safari = (ua.indexOf("safari/") > -1 && ua.indexOf("chrome") < 0);
if(is_safari) {
var video = document.getElementById('#video-element-id');
setTimeout(function() {
video.play();
}, 50);
}
I have tried doing this without the timeout, but Safari is rejecting this by throwing a Promise rejection.
I don't know why...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…