@car-cutter/vanilla-webplayer
v0.10.0
Published
Use CarCutter WebPlayer with Vanilla JS/TS
Downloads
44
Maintainers
Readme
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