Skip to content

GreenestGoat/cloudstream

Repository files navigation

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
cd cloudstream
npm install
npm run dev -- --open

License

Licensed under the MIT license.

Contributors

Contributions are welcome! Please feel free to submit a Pull Request.