@wpstream/astro
v0.1.3
Published
Astro component for embedding WPStream live and VOD players.
Downloads
602
Maintainers
Readme
@wpstream/astro
Astro component for embedding WPStream live and VOD players.
Install
npm install @wpstream/astroUsage
---
import { WpStreamPlayer } from '@wpstream/astro';
---
<WpStreamPlayer contentId="YOUR_WPSTREAM_CONTENT_ID" />Content ID
The Content ID is provided by WPStream. It lets the component show the correct live or recorded WPStream player without scripts or HTML code.
For a live channel
Use these steps when you want the player to show a WPStream live channel:
- Go to wpstream.net.
- Open My Account > Live Channels.
- Choose a channel, or create a new one.
- Copy the Content ID.
For a recorded video
Use these steps when you want the player to show a recorded WPStream video:
- Go to wpstream.net.
- Open My Account > Videos.
- Choose a video, or upload a new one.
- Copy the Content ID.
