Is it possible to write plugin types on c or c++?

Browser extensions are written on js.

I have a plugin installed: “openh264 video codec provided by cisco systems, inc.”
I doubt that this can be written on js.

Is it possible to write plugin types on c or c++?