This repository has been archived on 2026-05-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
closed-caption-app/public/display.html
T

56 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Live Transcription Display</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link id="google-font-link" rel="stylesheet" href="">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: transparent;
overflow: hidden;
-webkit-app-region: drag;
user-select: none;
}
#display-container {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: #000;
}
#transcription-text {
text-align: center;
font-size: 32px;
color: #fff;
line-height: 1.5;
word-wrap: break-word;
transition: opacity 0.3s ease;
font-family: Arial, sans-serif;
}
.fade-out {
opacity: 0 !important;
}
</style>
</head>
<body>
<div id="display-container">
<div id="transcription-text"></div>
</div>
<script src="js/display.js"></script>
</body>
</html>