Extension
This commit is contained in:
8
main.py
8
main.py
@@ -259,8 +259,6 @@ def format_status_display(status):
|
||||
except Exception:
|
||||
return str(status or "")
|
||||
|
||||
|
||||
|
||||
# -------------------------
|
||||
# Write Countdown HTML
|
||||
# -------------------------
|
||||
@@ -283,6 +281,7 @@ def write_countdown_html(mission_name, timer_text):
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="refresh" content="1">
|
||||
<style>
|
||||
body {{
|
||||
margin: 0;
|
||||
@@ -297,11 +296,6 @@ body {{
|
||||
#mission {{ font-size: {mission_px}px; margin-bottom: 0; }}
|
||||
#timer {{ font-size: {timer_px}px; margin-bottom: 40px; }}
|
||||
</style>
|
||||
<script>
|
||||
setTimeout(() => {{
|
||||
location.href = location.href.split('?')[0] + '?t=' + Date.now();
|
||||
}}, 1000);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
{mission_div_hidden}
|
||||
|
||||
@@ -12,6 +12,9 @@ For setting up the HTML sources to use in OBS, or similiar softwares. Follow the
|
||||
2. Select "Local file"
|
||||
3. Select html file
|
||||
4. Check both "Shutdown source when not visible" and "Refresh browser when scene becomes active"
|
||||
5. Install the extension "xObsBrowserAutoRefresh"
|
||||
- Download from https://obsproject.com/forum/resources/xobsbrowserautorefresh-timed-automatic-browser-source-refreshing.1677
|
||||
- Set auto refresh times to whatever you desire.
|
||||
|
||||
INSTALL INSTRUCTIONS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user