Video Play Button

Hello, I added a video to my project using Code widget and now I need to add play and pause button, but couldn’t find much information about it. Is there any way you can do that?