0.13.0 • Published 6 months ago
@car-cutter/vanilla-webplayer v0.13.0
Vanilla WebPlayer
Use CarCutter WebPlayer with Vanilla JS/TS
Usage
- Install package:
npm install @car-cutter/vanilla-webplayer - Import:
import { appendWebPlayer } from "@car-cutter/vanilla-webplayer" - Use:
const targetElement = document.getElementById("target");
appendWebPlayer(targetElement, {
compositionUrl: url,
});Next Steps
For more customisation, take a look at the Online Documentation