I have a feed of Instagram content that includes recent posts. If the post is a video it displays as such: HTML5 video with autoplay, loop and muted attributes.
Aesthetically the result is very pleasing; however in Safari when the video has completed loading, the browsers skips down the web page to the position of the video. It doesn't do this in Chrome.
The video is not the main content so I do not want it to skip down the page.
Questions
Is there a W3C standard for autoplay? i.e is safari or chrome taking the default approach
What's the best way to remedy this?
Thoughts on soultion
I could turn off autoplay and instead trigger play with JS. This however seems a little bit unnecessary and creates a new dependency.
*Updated: Limit scroll length to 1500 units until 2 seconds after video starts playing...