Safari loads the “avocado” video source if the CSS media query (min-width: 1000px) is true, and the “tomato” video source otherwise.

Load this demo in desktop Safari, resize the browser until the background color changes, and then reload the page.