About multimodal live API and gemini API

I implemented a sample from this URL.
I would like to rewrite this sample slightly to load a video file, but I don’t know how. Please advise.
Also, is it possible to load the video file into gemini and have it answer based on that?

google-gemini/multimodal-live-api-web-console/blob/main/src/hooks/use-live-api.ts

I implemented a sample from this URL.
I would like to rewrite this sample slightly to load a video file, but I don’t know how. Please advise.
Also, is it possible to load the video file into gemini and have it answer based on that?