Prevent background video from loading/playing depending on viewport/devices

Sometimes we need to crop the background video in order to display nicely on certain devices. At this time, this is causing some pagespeed issue as both element are present in the waterfall. A simple switch à la Interactions 2.0 would be awesome.

  • Pierre-Jean Duval
  • Jan 6 2020
  • Reviewed