vecslide-core 0.1.0

Core library for the .vecslide format: SVG + Opus vector presentations with synchronized audio. Manifest, packing, HTML compilation.
Documentation
1
2
3
4
5
/// The viewer HTML template. Placeholders are replaced by `compile_html`:
/// - `{{MANIFEST_JSON}}`  — serialized ViewerManifest as JSON
/// - `{{AUDIO_BASE64}}`   — Opus audio file encoded as Base64
/// - `{{SLIDE_SCRIPTS}}`  — `<script type="text/xml" id="slide-N">` blocks
pub const TEMPLATE: &str = include_str!("player_template.html");