Archived
First commit of local Closed Caption App
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user