video()

Purpose: Spawn and control HTML5 video overlays during a score.

Required

Placement & Positioning

Size

Audio (Default Muted)

Spawning / Reuse

Timing & Playback

Interaction

Removal


Examples

  1. Fullscreen, pass-through clicks, but allow click-to-close

    cue:video(file:intro.mp4,size:fs,clickable:1,audio:1,fadeIn:0.5)
    
  2. Windowed, anchored to a target, follows scroll, infinite loop

    cue:video(file:clip.webm,target:markerA,location:scroll,size:640x360,loop:0,opacity:0.9)
    
  3. Spawn a second independent instance via uid

    cue:video(file:cam.mp4,uid:stageLeft,in:5,fadeIn:1,fadeOut:1,hold:20)
    
  4. Force new instance without specifying uid

    cue:video(file:teaser.mp4,new:1,in:2,out:10,fadeIn:0.5,fadeOut:0.5,speed:1.25)
    

Note: size:fs always positions at (0,0) and ignores target geometry; all other sizes center on target (or the cue position) with optional offsetX/offsetY. Default audio is muted; use audio:1 to unmute. By default, same file+target cues reuse the existing element unless uid or new:1 is supplied.

Tip: use ← → or ↑ ↓ to navigate the docs