Make video hook infrastructure conditional on video hooks being enabled.