Package Exports
- stream-vue
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stream-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
▶️ stream-vue
Vue component for Cloudflare Stream
Vue component for Cloudflare Stream.
Note that this is not an official component.
Features
- Vetur autocomplete for props and events
Quick Start
First install stream-vue:
yarn add stream-vue
# or npm
npm install stream-vue --saveUsage
<template>
<VideoStream controls src="YOUR_VIDEO_ID_OR_SIGNED_URL">
</template>
<script>
import { VideoStream } from 'stream-vue'
export default {
components: { VideoStream }
}
</script>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