@openeventkit/event-site 2.1.29 → 2.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/content/site-settings/index.json +1 -1
- package/src/content/sponsors.json +1 -1
- package/src/pages/a/overflow-player.js +118 -61
- package/src/styles/colors.scss +2 -2
- package/src/utils/hooks/index.js +3 -1
- package/src/utils/hooks/useOrientation.js +31 -0
- package/src/workers/synch.worker.js +33 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"favicon":{"asset":"icon.png"},"widgets":{"chat":{"enabled":true,"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"identityProviderButtons":[{"buttonColor":"#082238","providerLabel":"Continue with FNid","providerLogo":"logo_fn.svg","providerLogoSize":27},{"buttonColor":"#0A66C2","providerLabel":"Sign in with LinkedIn","providerParam":"linkedin","providerLogo":"logo_linkedin.svg","providerLogoSize":18},{"buttonColor":"#000000","providerLabel":"Sign in with Apple","providerParam":"apple","providerLogoSize":17,"providerLogo":"logo_apple.svg"},{"buttonColor":"#1877F2","providerLabel":"Login with Facebook","providerParam":"facebook","providerLogo":"logo_facebook.svg","providerLogoSize":20}],"maintenanceMode":{"enabled":false,"title":"Site under maintenance","subtitle":"Please reload page shortly"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":
|
|
1
|
+
{"favicon":{"asset":"icon.png"},"widgets":{"chat":{"enabled":true,"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"identityProviderButtons":[{"buttonColor":"#082238","providerLabel":"Continue with FNid","providerLogo":"logo_fn.svg","providerLogoSize":27},{"buttonColor":"#0A66C2","providerLabel":"Sign in with LinkedIn","providerParam":"linkedin","providerLogo":"logo_linkedin.svg","providerLogoSize":18},{"buttonColor":"#000000","providerLabel":"Sign in with Apple","providerParam":"apple","providerLogoSize":17,"providerLogo":"logo_apple.svg"},{"buttonColor":"#1877F2","providerLabel":"Login with Facebook","providerParam":"facebook","providerLogo":"logo_facebook.svg","providerLogoSize":20}],"maintenanceMode":{"enabled":false,"title":"Site under maintenance","subtitle":"Please reload page shortly"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":1757078904637},{"file":"src/data/events.json","build_time":1757078906503},{"file":"src/data/events.idx.json","build_time":1757078906506},{"file":"src/data/speakers.json","build_time":1757078907177},{"file":"src/data/speakers.idx.json","build_time":1757078907177},{"file":"src/content/sponsors.json","build_time":1757078912121},{"file":"src/data/voteable-presentations.json","build_time":1757078912473}],"lastBuild":1757078912473}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[]
|
|
1
|
+
[{"id":533,"created":1754503947,"last_edited":1755716348,"order":1,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":"","intro":"","external_link":"","video_link":"","chat_link":"","featured_event_id":0,"header_image_alt_text":"","side_image_alt_text":"","header_image_mobile_alt_text":"","carousel_advertise_image_alt_text":"","show_logo_in_event_page":true,"lead_report_setting_id":6,"company":{"id":1,"created":1579886208,"last_edited":1579886208,"name":"Intel Corporation","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/1/logos/OCP21GLO-SessionBrandingBar-Sponsor-Intel2.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/1/logos/OCP21GLO-SessionBrandingBar-Sponsor-Intel3.png","color":"#f0f0ee"},"extra_questions":[763],"members":[],"sponsorship":{"id":2072,"widget_title":"","lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":false,"sponsor_page_use_live_event_widget":false,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":3,"should_display_on_expo_hall_page":false,"should_display_on_lobby_page":false,"type":{"id":9,"created":1605551482,"last_edited":1605551482,"name":"Silver","label":"Silver","order":9,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":543,"created":1754667572,"last_edited":1754667572,"order":2,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":3,"created":1580138376,"last_edited":1580138376,"name":"Tipit , LLC","url":null,"url_segment":null,"city":null,"state":null,"country":null,"description":null,"industry":null,"contributions":null,"member_level":"None","overview":null,"products":null,"commitment":null,"commitment_author":null,"logo":null,"big_logo":null,"color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":564,"created":1755645526,"last_edited":1755645526,"order":3,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":4,"created":1582745992,"last_edited":1582745992,"name":"FNTECH","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/4/logos/FNTECH-BLK-logo-rgb-1-color-white-720px2.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/4/logos/FNTECH-BLK-logo-rgb-1-color-white-720px3.png","color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":565,"created":1755716372,"last_edited":1755716401,"order":4,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":5,"created":1594672447,"last_edited":1594672447,"name":"Meta","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/5/logos/OCP21GLO-SessionBrandingBar-Sponsor-Meta1.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/5/logos/OCP21GLO-SessionBrandingBar-Sponsor-Meta.png","color":"#f0f0ee"},"extra_questions":[],"members":[36416],"sponsorship":{"id":2073,"widget_title":"","lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":false,"sponsor_page_use_live_event_widget":false,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":1,"should_display_on_expo_hall_page":false,"should_display_on_lobby_page":false,"type":{"id":2,"created":1579287407,"last_edited":1579287407,"name":"Diamond","label":"20 x 20 booth","order":2,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":566,"created":1755717072,"last_edited":1755717072,"order":5,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":11,"created":1603222606,"last_edited":1603222606,"name":"FakeCo","url":null,"url_segment":null,"city":null,"state":null,"country":null,"description":null,"industry":null,"contributions":null,"member_level":null,"overview":null,"products":null,"commitment":null,"commitment_author":null,"logo":null,"big_logo":null,"color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":567,"created":1755717143,"last_edited":1755717143,"order":6,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":12,"created":1603223078,"last_edited":1603223078,"name":"Phase Two","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/12/logos/IF2020-Phasetwo-Presentedby-Logo.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/12/logos/IF2020-Phasetwo-Presentedby-Logo1.png","color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":568,"created":1755717768,"last_edited":1755717768,"order":7,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":6,"created":1600118396,"last_edited":1600118396,"name":"FNtest","url":null,"url_segment":null,"city":null,"state":null,"country":null,"description":null,"industry":null,"contributions":null,"member_level":"None","overview":null,"products":null,"commitment":null,"commitment_author":null,"logo":null,"big_logo":null,"color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2076,"widget_title":"test2","lobby_template":"carousel","expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":false,"sponsor_page_use_live_event_widget":false,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":7,"should_display_on_expo_hall_page":false,"should_display_on_lobby_page":false,"type":{"id":8,"created":1603223268,"last_edited":1603223268,"name":"Featured","label":"Featured","order":8,"size":"Large"}},"ads":[],"materials":[],"social_networks":[]},{"id":569,"created":1755717799,"last_edited":1755717799,"order":8,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":13,"created":1603223094,"last_edited":1603223094,"name":"Essentia Water","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/13/logos/IF2020-Essentia-Presentedby-Logo-V2.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/13/logos/IF2020-Essentia-Presentedby-Logo-V21.png","color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":570,"created":1755717951,"last_edited":1755717951,"order":9,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":8,"created":1603222234,"last_edited":1603222234,"name":"Z by HP","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/8/logos/IF2020-ZbyHP-Presentedby-Logo.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/8/logos/IF2020-ZbyHP-Presentedby-Logo1.png","color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":571,"created":1755717973,"last_edited":1755717973,"order":10,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":24,"created":1605551226,"last_edited":1605551226,"name":"Bronze - Lower Tier","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":572,"created":1755717993,"last_edited":1755717993,"order":11,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":47,"created":1629851431,"last_edited":1629851431,"name":"BizLink Technology, Inc.","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/47/logos/OCP21GLO-SessionBrandingBar-Sponsor-Bizlink.png","big_logo":null,"color":"#DADADA"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]},{"id":573,"created":1755718518,"last_edited":1755718518,"order":12,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":79,"created":1630351802,"last_edited":1630351802,"name":"Test and Validation","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":null,"big_logo":null,"color":"#DADADA"},"extra_questions":[],"members":[],"sponsorship":{"id":2083,"widget_title":"test8","lobby_template":"small-images","expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":false,"sponsor_page_use_live_event_widget":false,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":13,"should_display_on_expo_hall_page":false,"should_display_on_lobby_page":false,"type":{"id":19,"created":1630352146,"last_edited":1630352146,"name":"Experience Center","label":"Experience Center","order":19,"size":"Small"}},"ads":[],"materials":[],"social_networks":[]},{"id":574,"created":1755718559,"last_edited":1755718559,"order":13,"summit_id":69,"is_published":true,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":null,"intro":null,"external_link":null,"video_link":null,"chat_link":null,"featured_event_id":0,"header_image_alt_text":null,"side_image_alt_text":null,"header_image_mobile_alt_text":null,"carousel_advertise_image_alt_text":null,"show_logo_in_event_page":true,"lead_report_setting_id":0,"company":{"id":10,"created":1603222343,"last_edited":1603222343,"name":"Microsoft","url":"","url_segment":null,"city":"","state":"","country":"","description":"","industry":"","contributions":"","member_level":"None","overview":"","products":"","commitment":"","commitment_author":"","logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/10/logos/OCP21GLO-SessionBrandingBar-Sponsor-Microsoft1.png","big_logo":"https://summit-api-dev-assets.nyc3.digitaloceanspaces.com/companies/10/logos/OCP21GLO-SessionBrandingBar-Sponsor-Microsoft.png","color":"#f0f0ee"},"extra_questions":[],"members":[],"sponsorship":{"id":2071,"widget_title":"test","lobby_template":"small-images","expo_hall_template":"big-images","sponsor_page_template":"big-header","event_page_template":"big-images","sponsor_page_use_disqus_widget":true,"sponsor_page_use_live_event_widget":true,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":69,"order":2,"should_display_on_expo_hall_page":true,"should_display_on_lobby_page":true,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]}]
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import React, {useEffect, useState,
|
|
2
|
-
import {connect} from "react-redux";
|
|
3
|
-
import {useTranslation} from "react-i18next";
|
|
4
|
-
import {getOverflowEventByKey} from "../../actions/event-actions";
|
|
5
|
-
import {Container, Box, CircularProgress, Typography, Fade} from "@mui/material";
|
|
1
|
+
import React, { useEffect, useState,useCallback, useRef } from "react";
|
|
2
|
+
import { connect } from "react-redux";
|
|
3
|
+
import { useTranslation } from "react-i18next";
|
|
4
|
+
import { getOverflowEventByKey } from "../../actions/event-actions";
|
|
5
|
+
import { Container, Box, CircularProgress, Typography, Fade } from "@mui/material";
|
|
6
6
|
import VideoComponent from "../../components/VideoComponent";
|
|
7
7
|
import ErrorMessage from "../../components/ErrorMessage";
|
|
8
|
+
import withRealTimeUpdates from "../../utils/real_time_updates/withRealTimeUpdates";
|
|
9
|
+
import { useOrientation } from "../../utils/hooks";
|
|
8
10
|
import "../../i18n";
|
|
9
11
|
import {useAblyChannel} from "../../utils/real_time_updates/useAblyChannel";
|
|
10
12
|
|
|
13
|
+
const TITLE_DISPLAY_DURATION = 3000;
|
|
14
|
+
|
|
11
15
|
const OverflowPlayerPage = ({
|
|
12
16
|
location,
|
|
13
17
|
fetchOverflowEvent,
|
|
@@ -15,12 +19,12 @@ const OverflowPlayerPage = ({
|
|
|
15
19
|
event,
|
|
16
20
|
error
|
|
17
21
|
}) => {
|
|
18
|
-
|
|
19
22
|
const params = new URLSearchParams(location.search);
|
|
20
|
-
const
|
|
21
|
-
const {t} = useTranslation();
|
|
23
|
+
const overflowStreamKey = params.get("k");
|
|
24
|
+
const { t } = useTranslation();
|
|
22
25
|
const [showTitleFlash, setShowTitleFlash] = useState(false);
|
|
23
26
|
const [videoError, setVideoError] = useState(false);
|
|
27
|
+
const { isPortrait } = useOrientation();
|
|
24
28
|
const latestEventIdRef = useRef(null);
|
|
25
29
|
|
|
26
30
|
useEffect(() => {
|
|
@@ -45,6 +49,14 @@ const OverflowPlayerPage = ({
|
|
|
45
49
|
onMessage: onAblyMessage,
|
|
46
50
|
});
|
|
47
51
|
|
|
52
|
+
const flashTitle = () => {
|
|
53
|
+
setShowTitleFlash(true);
|
|
54
|
+
const timer = setTimeout(() => {
|
|
55
|
+
setShowTitleFlash(false);
|
|
56
|
+
}, TITLE_DISPLAY_DURATION);
|
|
57
|
+
return () => clearTimeout(timer);
|
|
58
|
+
};
|
|
59
|
+
|
|
48
60
|
useEffect(() => {
|
|
49
61
|
if (overflowStreamKey) {
|
|
50
62
|
fetchOverflowEvent(overflowStreamKey);
|
|
@@ -53,13 +65,15 @@ const OverflowPlayerPage = ({
|
|
|
53
65
|
|
|
54
66
|
useEffect(() => {
|
|
55
67
|
if (event && !loading && !error) {
|
|
56
|
-
|
|
68
|
+
return flashTitle();
|
|
57
69
|
}
|
|
58
70
|
}, [event, loading, error]);
|
|
59
71
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
72
|
+
useEffect(() => {
|
|
73
|
+
if (!isPortrait) {
|
|
74
|
+
return flashTitle();
|
|
75
|
+
}
|
|
76
|
+
}, [isPortrait]);
|
|
63
77
|
|
|
64
78
|
const handleVideoError = (e) => {
|
|
65
79
|
console.error("Video error:", e);
|
|
@@ -67,6 +81,29 @@ const OverflowPlayerPage = ({
|
|
|
67
81
|
setShowTitleFlash(false);
|
|
68
82
|
};
|
|
69
83
|
|
|
84
|
+
const vimeoOverrides = {
|
|
85
|
+
'& .video-module--vimeoPlayer--ac603': {
|
|
86
|
+
paddingBottom: '0 !important',
|
|
87
|
+
height: isPortrait ? '100% !important' : '100vh !important',
|
|
88
|
+
'& iframe': {
|
|
89
|
+
width: isPortrait ? '100% !important' : '100vw !important',
|
|
90
|
+
height: isPortrait ? '100% !important' : '100vh !important',
|
|
91
|
+
position: 'absolute',
|
|
92
|
+
top: 0,
|
|
93
|
+
left: 0
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
const videoProps = {
|
|
99
|
+
url: event?.overflow_streaming_url,
|
|
100
|
+
title: event?.title,
|
|
101
|
+
isLive: true,
|
|
102
|
+
autoPlay: true,
|
|
103
|
+
tokens: event?.overflow_tokens,
|
|
104
|
+
onError: handleVideoError
|
|
105
|
+
};
|
|
106
|
+
|
|
70
107
|
if (!overflowStreamKey) {
|
|
71
108
|
return (
|
|
72
109
|
<ErrorMessage
|
|
@@ -82,7 +119,7 @@ const OverflowPlayerPage = ({
|
|
|
82
119
|
{loading || (!event && !error && overflowStreamKey) ? (
|
|
83
120
|
<Container maxWidth={false}>
|
|
84
121
|
<Box display="flex" justifyContent="center" alignItems="center" height="100vh">
|
|
85
|
-
<CircularProgress sx={{color: 'var(--color_accent)'}}/>
|
|
122
|
+
<CircularProgress sx={{ color: 'var(--color_accent)' }} />
|
|
86
123
|
</Box>
|
|
87
124
|
</Container>
|
|
88
125
|
) : error ? (
|
|
@@ -99,55 +136,75 @@ const OverflowPlayerPage = ({
|
|
|
99
136
|
fullScreen={true}
|
|
100
137
|
/>
|
|
101
138
|
) : (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
position: 'absolute',
|
|
114
|
-
top: 0,
|
|
115
|
-
left: 0
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}}
|
|
119
|
-
>
|
|
120
|
-
<VideoComponent
|
|
121
|
-
url={event.overflow_streaming_url}
|
|
122
|
-
title={event.title}
|
|
123
|
-
isLive={true}
|
|
124
|
-
autoPlay={true}
|
|
125
|
-
tokens={event.overflow_tokens}
|
|
126
|
-
onLoaded={handleVideoLoad}
|
|
127
|
-
onError={handleVideoError}
|
|
128
|
-
/>
|
|
129
|
-
|
|
130
|
-
<Fade in={showTitleFlash} timeout={500}>
|
|
131
|
-
<Typography
|
|
132
|
-
variant="h3"
|
|
133
|
-
component="h1"
|
|
134
|
-
position="absolute"
|
|
135
|
-
top="50%"
|
|
136
|
-
left="50%"
|
|
139
|
+
isPortrait ? (
|
|
140
|
+
<Box
|
|
141
|
+
width="100vw"
|
|
142
|
+
minHeight="100vh"
|
|
143
|
+
display="flex"
|
|
144
|
+
flexDirection="column"
|
|
145
|
+
bgcolor="var(--color_secondary)"
|
|
146
|
+
>
|
|
147
|
+
<Box
|
|
148
|
+
position="relative"
|
|
149
|
+
width="100%"
|
|
137
150
|
sx={{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
textShadow: '2px 2px 4px rgba(0,0,0,0.8)',
|
|
142
|
-
zIndex: 1000,
|
|
143
|
-
maxWidth: '80%',
|
|
144
|
-
textAlign: 'center'
|
|
151
|
+
aspectRatio: '16/9',
|
|
152
|
+
maxHeight: '40vh',
|
|
153
|
+
...vimeoOverrides
|
|
145
154
|
}}
|
|
146
155
|
>
|
|
147
|
-
{
|
|
148
|
-
</
|
|
149
|
-
|
|
150
|
-
|
|
156
|
+
<VideoComponent {...videoProps} />
|
|
157
|
+
</Box>
|
|
158
|
+
|
|
159
|
+
<Box
|
|
160
|
+
bgcolor="var(--color_secondary)"
|
|
161
|
+
color="white"
|
|
162
|
+
p={2}
|
|
163
|
+
flex={1}
|
|
164
|
+
>
|
|
165
|
+
<Typography
|
|
166
|
+
variant="h3"
|
|
167
|
+
component="h1"
|
|
168
|
+
sx={{
|
|
169
|
+
fontWeight: 'bold',
|
|
170
|
+
mb: 1
|
|
171
|
+
}}
|
|
172
|
+
>
|
|
173
|
+
{event.title}
|
|
174
|
+
</Typography>
|
|
175
|
+
</Box>
|
|
176
|
+
</Box>
|
|
177
|
+
) : (
|
|
178
|
+
<Box
|
|
179
|
+
width="100vw"
|
|
180
|
+
height="100vh"
|
|
181
|
+
position="relative"
|
|
182
|
+
sx={vimeoOverrides}
|
|
183
|
+
>
|
|
184
|
+
<VideoComponent {...videoProps} />
|
|
185
|
+
|
|
186
|
+
<Fade in={showTitleFlash} timeout={500}>
|
|
187
|
+
<Typography
|
|
188
|
+
variant="h3"
|
|
189
|
+
component="h1"
|
|
190
|
+
position="absolute"
|
|
191
|
+
top="50%"
|
|
192
|
+
left="50%"
|
|
193
|
+
sx={{
|
|
194
|
+
transform: 'translate(-50%, -50%)',
|
|
195
|
+
color: 'white',
|
|
196
|
+
fontWeight: 'bold',
|
|
197
|
+
textShadow: '2px 2px 4px rgba(0,0,0,0.8)',
|
|
198
|
+
zIndex: 1000,
|
|
199
|
+
maxWidth: '80%',
|
|
200
|
+
textAlign: 'center'
|
|
201
|
+
}}
|
|
202
|
+
>
|
|
203
|
+
{event.title}
|
|
204
|
+
</Typography>
|
|
205
|
+
</Fade>
|
|
206
|
+
</Box>
|
|
207
|
+
)
|
|
151
208
|
)
|
|
152
209
|
) : (
|
|
153
210
|
<ErrorMessage
|
|
@@ -160,7 +217,7 @@ const OverflowPlayerPage = ({
|
|
|
160
217
|
);
|
|
161
218
|
};
|
|
162
219
|
|
|
163
|
-
const mapStateToProps = ({eventState}) => ({
|
|
220
|
+
const mapStateToProps = ({ eventState }) => ({
|
|
164
221
|
loading: eventState.loading,
|
|
165
222
|
event: eventState.event,
|
|
166
223
|
error: eventState.error
|
|
@@ -170,4 +227,4 @@ const mapDispatchToProps = (dispatch) => ({
|
|
|
170
227
|
fetchOverflowEvent: (streamKey) => dispatch(getOverflowEventByKey(streamKey))
|
|
171
228
|
});
|
|
172
229
|
|
|
173
|
-
export default connect(mapStateToProps, mapDispatchToProps)(OverflowPlayerPage);
|
|
230
|
+
export default connect(mapStateToProps, mapDispatchToProps)(withRealTimeUpdates(OverflowPlayerPage));
|
package/src/styles/colors.scss
CHANGED
|
@@ -19,8 +19,8 @@ $color_input_text_color_light: #363636;
|
|
|
19
19
|
$color_input_text_color_dark: #ffffff;
|
|
20
20
|
$color_input_text_color_disabled_light: #ffffff;
|
|
21
21
|
$color_input_text_color_disabled_dark: #ffffff;
|
|
22
|
-
$color_primary: #
|
|
23
|
-
$color_primary_contrast: #
|
|
22
|
+
$color_primary: #8DC63F;
|
|
23
|
+
$color_primary_contrast: #FFFFFF;
|
|
24
24
|
$color_secondary: #26387f;
|
|
25
25
|
$color_secondary_contrast: #005870;
|
|
26
26
|
$color_text_light: #ffffff;
|
package/src/utils/hooks/index.js
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useState, useEffect } from "react";
|
|
2
|
+
|
|
3
|
+
const useOrientation = () => {
|
|
4
|
+
const getOrientation = () => window.innerHeight > window.innerWidth;
|
|
5
|
+
|
|
6
|
+
const [isPortrait, setIsPortrait] = useState(getOrientation());
|
|
7
|
+
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const checkOrientation = () => {
|
|
10
|
+
const portrait = getOrientation();
|
|
11
|
+
setIsPortrait(portrait);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
// Check on mount
|
|
15
|
+
checkOrientation();
|
|
16
|
+
|
|
17
|
+
// Add event listeners
|
|
18
|
+
window.addEventListener("resize", checkOrientation);
|
|
19
|
+
window.addEventListener("orientationchange", checkOrientation);
|
|
20
|
+
|
|
21
|
+
// Cleanup
|
|
22
|
+
return () => {
|
|
23
|
+
window.removeEventListener("resize", checkOrientation);
|
|
24
|
+
window.removeEventListener("orientationchange", checkOrientation);
|
|
25
|
+
};
|
|
26
|
+
}, []);
|
|
27
|
+
|
|
28
|
+
return { isPortrait, isLandscape: !isPortrait };
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default useOrientation;
|
|
@@ -13,6 +13,32 @@ let currentAccessToken = null;
|
|
|
13
13
|
const pool = new Map();
|
|
14
14
|
let seq = 0;
|
|
15
15
|
|
|
16
|
+
// ---- Jitter / backoff configuration ----
|
|
17
|
+
const JITTER = {
|
|
18
|
+
enabled: true,
|
|
19
|
+
minMs: 100, // e.g., 50–300ms smooths spikes without much latency
|
|
20
|
+
maxMs: 500,
|
|
21
|
+
applyProbability: 1.0, // 1.0 = always apply; lower if you want probabilistic jitter
|
|
22
|
+
skipDelete: true, // don’t delay DELETE to keep removals fast
|
|
23
|
+
onErrorExtraMs: [150, 600], // random backoff window on errors
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** Sleep helper */
|
|
27
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
28
|
+
|
|
29
|
+
// Random “salt” so different workers distribute differently
|
|
30
|
+
const workerSalt = Math.floor(Math.random() * 1e9);
|
|
31
|
+
|
|
32
|
+
/** Random integer in [min, max] */
|
|
33
|
+
const randInt = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min;
|
|
34
|
+
|
|
35
|
+
function computeJitterMs(payload) {
|
|
36
|
+
if (!JITTER.enabled) return 0;
|
|
37
|
+
if (JITTER.skipDelete && payload?.entity_operator === "DELETE") return 0;
|
|
38
|
+
if (Math.random() > (JITTER.applyProbability ?? 1)) return 0;
|
|
39
|
+
return randInt(JITTER.minMs, JITTER.maxMs);
|
|
40
|
+
}
|
|
41
|
+
|
|
16
42
|
// Helper: coalescing precedence
|
|
17
43
|
function mergePayload(oldEntry, newPayload) {
|
|
18
44
|
if (!oldEntry) return newPayload; // nothing to merge
|
|
@@ -126,6 +152,7 @@ async function runBatch(batch) {
|
|
|
126
152
|
currentAccessToken,
|
|
127
153
|
payload
|
|
128
154
|
);
|
|
155
|
+
|
|
129
156
|
lastPayload = payload;
|
|
130
157
|
|
|
131
158
|
if (!s) {
|
|
@@ -134,6 +161,12 @@ async function runBatch(batch) {
|
|
|
134
161
|
}
|
|
135
162
|
|
|
136
163
|
try {
|
|
164
|
+
// ---- JITTER BEFORE TOUCHING BACKEND/STATE ----
|
|
165
|
+
// Apply a small randomized delay to desynchronize bursts across clients.
|
|
166
|
+
const jitterMs = computeJitterMs(payload);
|
|
167
|
+
console.log(`"synch worker: jitterMs ${jitterMs}`);
|
|
168
|
+
if (jitterMs) await sleep(jitterMs);
|
|
169
|
+
|
|
137
170
|
const res = await s.process(payload);
|
|
138
171
|
const {
|
|
139
172
|
summit: resSummit,
|