Components

LiveStreamPreview

<LiveStreamPreview />

Constructor

# <LiveStreamPreview />

This module is in charge of displaying the preview of a single stream
Properties:
Name Type Description
streamData streamData The data describing the stream

View Source frontend/siinc-tv/src/components/previews/liveStreamPreview.js, line 21

Methods

# inner displayPreviewImage()

Displays the preview images

View Source frontend/siinc-tv/src/components/previews/liveStreamPreview.js, line 85

# inner handleRedirect()

Redirects to the stream page on click

View Source frontend/siinc-tv/src/components/previews/liveStreamPreview.js, line 104

# inner mapTwitchThumbnails(twitchStreamResponse)

Maps twitch streams response to preview images
Parameters:
Name Type Description
twitchStreamResponse * The response of the stream id's from the backend

View Source frontend/siinc-tv/src/components/previews/liveStreamPreview.js, line 70

# async inner mapYoutubeThumbnails()

Maps preview thubmnails from youtube to array

View Source frontend/siinc-tv/src/components/previews/liveStreamPreview.js, line 50