demo: for old browsers, you need to pass the "mode" option if it's different from "cover"