live-event-widget
v4.0.2
Published
Live Event Widget
Downloads
160
Keywords
Readme
live event widget
Widget to display current live event with video player. It will show the current live event, if no live event then it will be empty.
LiveEvent Lite config
** onEventClick(event) = method called upon event click
** onTrackClick(trackId) = method called upon track click
** onRoomClick(roomId) = method called upon room click
** onSpeakerClick(speakerId) = method called upon speaker click
sponsorId = shows upcoming events from a specific Sponsor - value sponsorId
roomId = shows upcoming events from a specific Room - value roomId
featuredRoomId = prioritize events on this room
featuredEventId = shows only the featured event
onlyPresentations = filter live events to show only of type Presentation, default false
speakerId = shows upcoming events from a specific Speaker - value speakerId
defaultImage = url for image to show when no eventImage and no stream thumbnail available/set
showSponsor = enables an additional bar below the video and shows current sponsor name and logo
showTrack = enables an additional bar below the video and shows current track name and icon
showSpeakers = shows speakers section at the bottom
showSpeakerCompany = when showSpeakers == true, it shows speakers company at the bottom of the speaker card
streamThumbnailGifCaptureStarts = set where the gif thumbnail capture starts ( MUX )
eventsData = array of all events from the summit
summitData = object with the data from the summit
marketingData = object with the settings from the marketing API
PUBLISH TO NPM:
1 - yarn build && yarn publish
2 - yarn publish-package
IMPORT:
import LiveEventWidget from 'live-event-widget';
import 'live-event-widget/index.css';
DEBUG:
You can pass this hash on url to override current time, time must be in this format and on summit timezone
#now=2020-06-03,10:59:50