cloudstream
v1.0.1
Published
Svelte component for Cloudflare Stream
Downloads
16
Maintainers
Readme
CloudStream
Svelte component for Cloudflare Stream
Installation
# npm
npm install cloudstream
# pnpm
pnpm install cloudstream
# yarn
yarn add cloudstream
Usage
<script>
import { CloudStream } from "cloudstream";
</script>
<CloudStream
videoid="6b9e68b07dfee8cc2d116e4c51d6a957"
customer="f33zs165nr7gyfy4"
params={{
loop: false,
muted: true
}}
/>
Development
git clone https://github.com/GreenestGoat/cloudstream.git
npm install
npm run dev -- --open
License
Licensed under the MIT license.
Contributors
Contributions are welcome! Please feel free to submit a Pull Request.