How do i set a video as a background in react?

im trying to get a video as a background in my react project, but when i use the backfroundReplacement() function with a gif it just sets the first frame of the gif as a background and with an mp4 file it doenst set anything as a background. i can’t seem to find a good example of someone using deepAR to replace background with a video but o the main page of deepAr it does say it. is this possible?

If you want to use a video for the background it’s best to create a new effect in the Studio from the Video background template.