displayVideo method added