add the function of make video in the page