{# The Live Racing race video: main video (YouTube player without YouTube's controls, or a Kick/Facebook iframe), our LIVE badge / sound button / "Tap for sound", the hidden background-music slot and the site logo. Follows the WFBO monitor's Main / Sound switches live (race-status poll, fade in/out). Used by the player event page and the WFBO Live Racing monitor. Params: event; ratio (default true) - false fills a sized parent instead of keeping its own 16:9 box; liveMode (default 'player') - 'monitor' keeps the video tighter to the live point (the WFBO wall display stays open for hours). #} {% set ratio = ratio ?? true %} {% set liveMode = liveMode ?? 'player' %} {# Filled by lrVideo (script below): the main video, our sound controls, and the hidden BGM slot. Hidden while the event has no video. #}
{# Our controls, not YouTube's: starts with sound; muted + "Tap for sound" only if the browser blocks that. #} {# Background music: the other video, playing (audio only) out of sight. #} {# Site logo over the video, bottom left - like a TV channel logo. #}