Video player working

Added video player functionality to video function.