added multivideo functionality