Apply the same JavaScript preference to video.