If you jump to about the 40 second mark of the video above you can see the user in the video applying butyl tape. Some users will also refer to it as Dicor which is a brand name of butyl tape.
Butyl tape is a thick, bendable, malleable, well sealing product that is typically used on RV windows, vents, air conditioners etc. After it dries it can kind of look like a thick rubber gasket.
It's quite easy to use, but sticky as heck. If you use it for the first time perhaps try some out on a piece of cardboard first. It is removed easily, but use the cardboard to kind of get the hang of it and then when you go outside to do the job you'll look like a pro.
As a note, on flat (ish) surfaces like the roof of an RV you would use butyl tape under something like a vent or AC unit, install the unit and screw it down and then cover each screw with self leveling caulk. This will prevent water seepage at the screws. Caulk is not necessary on side windows.