Add a web video
add_web_videoPlaces a YouTube, Vimeo, Loom, or direct video link on a presentation slide with title and poster image, then plays it in GlideDeck and exported HTML.
Instructions
Places a YouTube, Vimeo or Loom video (or a direct link to a video file) on a slide, with its title and poster image. It plays in GlideDeck and in the export_html web page (in the site's own player). Slide units: 1600 × 900, origin at the center.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"url": "<url>"
},
"name": "add_web_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| url | Yes | Link to the video, e.g. https://www.youtube.com/watch?v=… | |
| path | Yes | The GlideDeck project file (.glide.json). Absolute, or relative to the server's folder; `.glide.json` is added when there is no extension. | |
| step | No | ||
| width | No | ||
| autoplay | No | Start playing when its slide is reached in the show. |