[READ-ONLY] Mirror of https://github.com/danielroe/stream-vue. Vue component for Cloudflare Stream.
cloudflare stream vue vuejs
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 79.1%
Vue 11.0%
HTML 1.8%
JavaScript 1.0%
Other 7.1%
561 9 8

Clone this repository

https://git.vm.fail/danielroe.dev/stream-vue https://git.vm.fail/did:plc:j5zogeg4crvpiq2crn2gpdvz
ssh://git@knot1.tangled.sh:2222/danielroe.dev/stream-vue ssh://git@knot1.tangled.sh:2222/did:plc:j5zogeg4crvpiq2crn2gpdvz

For self-hosted knots, clone URLs may differ based on your setup.


README.md

▶️ stream-vue

Vue component for Cloudflare Stream

Vue component for Cloudflare Stream.

Note that this is not an official component.

Quick Start#

First install stream-vue:

pnpm add stream-vue

# or
yarn add stream-vue
npm install stream-vue --save

Usage#

<script setup>
import { VideoStream } from 'stream-vue'
</script>

<template>
  <VideoStream controls src="YOUR_VIDEO_ID_OR_SIGNED_URL" />
</template>

Nuxt support#

To use with Nuxt 2, make sure to add the following to your nuxt.config.js:

vue: {
  config: {
    ignoredElements: ['stream']
  }
}

See @cloudflare/stream-react for more props and events.

Inspirations#

This is just a Vue fork of @cloudflare/stream-react.

Contributors#

This has been developed to suit my needs but additional use cases and contributions are very welcome.

License#

MIT License - Copyright © Daniel Roe