Passing random number to video method.