Notification
The StreamLayerSDKNotification component displays notification cards beneath the video player, alerting viewers to new interactive content.
Overview
The StreamLayerSDKNotification component displays notification cards beneath the video player, alerting viewers to new interactive content such as polls, games, and ads.
For details on the notification system, see the Notifications documentation.
Quick Start
Place the StreamLayerSDKNotification component inside a StreamLayerProvider. Position and size it using your own CSS.
import { StreamLayerProvider } from '@streamlayer/react'
import { StreamLayerSDKNotification } from '@streamlayer/react'
const App = () => {
return (
<StreamLayerProvider {...providerProps}>
<StreamLayerSDKNotification />
</StreamLayerProvider>
)
}Related
- Integration Guide — Full Web SDK setup and configuration
- Advertising — Advertisement component integration
- StreamLayerSDKReact — Main interactive UI component
Updated 21 days ago
