• @redcalcium
    link
    18 months ago

    How do you that in wayland? I’m very interested with crazy and useless stuff like this. On X11, you can pass a window ID to mpv with --wid, it’ll attach the player to that window, even if that window is actually a button in a spreadsheet app.

    • @barsoap@lemm.ee
      link
      fedilink
      18 months ago

      You implement the wayland server interface, launch mpv with the right environment to connect to you, then you take the buffer mpv gives you and compose it onto your window.