switch download or streaming with an env variable VIDEO_PLAYER