add VideoMax fuction
add VideoMax function and button