← 插件

Media preview

Play videos and preview images and HTML inline in the chat and in file tabs

$ clisbot plugin add afeding/media-preview
报告问题
afeding趣味0次安装46cf120b5405源代码
Media preview 截图 1

该插件的概览尚未翻译为你的语言,因此以英文显示。

Shows local videos, images and HTML pages inside Paseo.

  • Video file panel: opening an mp4, m4v, webm, mov or ogv file plays it in its file tab.
  • Inline previews in chat: agents get a show_media tool. Given a file path, it adds a card to the chat with a video player, the image, or the HTML page (scripts run in an isolated sandbox).

Files are read by the daemon in 8 MB chunks and kept in memory as a local blob while the card is open. Cards for files over 30 MB wait for a tap before loading. Files over 1 GB are rejected. Only media and HTML extensions can be read.

Previews work on desktop and web. On iOS and Android the card shows a notice instead.