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 |
Methods
# inner displayPreviewImage()
Displays the preview images
# inner handleRedirect()
Redirects to the stream page on click
# 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 |
# async inner mapYoutubeThumbnails()
Maps preview thubmnails from youtube to array