79162466

Date: 2024-11-06 11:54:17
Score: 3
Natty:
Report link

As Tobias said, Chrome now supports the media query in the source tag. It works fine when you load le page. Though, once loaded, if you change the orientation (turn your mobile), the media query isn't evaluated again and the previous source is still used.

Is there a Javascript function to force the change?

I've tried :

myVideo.load()

It works, but it is probably a bit too violent, no ?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: emmguyot