About video input

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?

A post was merged into an existing topic: About multimodal live API and gemini API