embed_host — vendetta as a <video> element
The minimal embed: one window, the widget, and the forwarding the widget needs. Every control — the hover control box, the seek bar, volume — is the widget's own; this file adds no chrome of its own.
The repository does not ship a clip: put any video at assets/video/test.mp4
first. Without one the example exits with a message.
cd ~/Projects/vendetta
v run examples/embed_host/main.v
The host wires exactly three things: the GL renderer (one window-global slot, routed by element id), pointer motion (it arms the controls' hover timer), and element events (forwarded blind — the widget drops ids it does not know).
examples/host_chrome is the same embed with host-owned sidebar chrome around
the widget, for the "host decides the layout" pattern.