Add green screen support

This commit is contained in:
Tocho Tochev 2021-08-11 16:57:10 +03:00
parent aea60ac5a7
commit 1cf6847d18
3 changed files with 8 additions and 1 deletions

View File

@ -132,5 +132,11 @@
<script type="text/javascript" src="ractive-init.js"></script> <script type="text/javascript" src="ractive-init.js"></script>
<script type="text/javascript" src="reveal-init.js"></script> <script type="text/javascript" src="reveal-init.js"></script>
<script type="text/javascript">
// use for green screen background
if ($.urlParam('background')) {
$('body').css('background-color', $.urlParam('background'));
}
</script>
</body> </body>
</html> </html>

View File

@ -19,7 +19,6 @@ function Schedule(hallId, date, setPageTitle) {
$.getJSON(apiEndpointPrefix + '/events.json', function(eventsData) { $.getJSON(apiEndpointPrefix + '/events.json', function(eventsData) {
$.getJSON(apiEndpointPrefix + '/slots.json', function(slotsData) { $.getJSON(apiEndpointPrefix + '/slots.json', function(slotsData) {
$.each(slotsData, function(slotId, slot) { $.each(slotsData, function(slotId, slot) {
console.info(slot);
$.extend(eventsData[slot['event_id'].toString()], slot); $.extend(eventsData[slot['event_id'].toString()], slot);
$.extend(eventsData[slot['event_id'].toString()], {"slotId": slotId}); $.extend(eventsData[slot['event_id'].toString()], {"slotId": slotId});
}); });

View File

@ -14,6 +14,8 @@ body,
.reveal h5, .reveal h5,
.reveal h6 { .reveal h6 {
font-family: "Roboto Condensed", tahoma, verdana, arial, sans-serif; font-family: "Roboto Condensed", tahoma, verdana, arial, sans-serif;
font-weight: bold;
-webkit-text-stroke: 0.01em black;
} }
#background_video { #background_video {