1.0.1 • Published 4 months ago

cloudstream v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

CloudStream

NPM MIT License

Svelte component for Cloudflare Stream

Demo

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.