VideoML Conformance
Canonical docs now live at videoml.org/docs/standard.
Status: Draft. This defines how to claim conformance with the VideoML standard.
Versioning
- Standard versions are semantic:
major.minor.patch. - Breaking changes increment major.
- New optional features increment minor.
- Bugfixes and clarifications increment patch.
Conformance Levels
- Core: Must support XML parsing, root, scenes, cues, temporal layout, and timeline API.
- Interactive: Adds inline JS (
<script>,on:*). - Live: Adds unbounded timeline, open-ended scenes, cut-to-next semantics.
Required Elements
<vml>root<scene>,<layer><sequence>,<stack>
Required Attributes
idon<vml>and<scene>fps,width,heighton<vml>
Timeline API
window.timeline.framewindow.timeline.timewindow.timeline.fpswindow.timelines
Lifecycle Events
timeline:tickscene:start,scene:endcue:start,cue:end
Recording Rules
- Recording is the XML state (effects), not event triggers.
- Open-ended scenes must be finalized before export.
- Optional
<events>metadata may be present and must be ignored by playback. - Subtrees marked
data-videoml-ignore="true"may be excluded from recording.