logoalt Hacker News

simondanischtoday at 12:38 PM1 replyview on HN

Ugh, yeah I had some super weird bugs like this in safari, still haven't found the source :(


Replies

embedding-shapetoday at 1:15 PM

Don't quote me on this, but I think there is a "playsinline" / "webkit-playsinline" attribute for the video element you need to add to avoid that, + if it's autoplay you need to set "muted" too. I've also had this happen and I think both/either of those solved it last time.