first commit
This commit is contained in:
7209
demo/audio.json
Normal file
7209
demo/audio.json
Normal file
File diff suppressed because one or more lines are too long
BIN
demo/audio.mp3
Normal file
BIN
demo/audio.mp3
Normal file
Binary file not shown.
33
demo/index.html
Normal file
33
demo/index.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!doctype html>
|
||||
<html lang="en-GB">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||
<style>
|
||||
body {
|
||||
background: #fafafa;
|
||||
font-size: 1.5em;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;
|
||||
margin: 5% 10% 5% 10%;
|
||||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="demo"></div>
|
||||
|
||||
<script type="module">
|
||||
import { html, render } from 'lit';
|
||||
import '../whisper-transcript.js';
|
||||
|
||||
render(
|
||||
html`
|
||||
<tooltip-color-guide></tooltip-color-guide>
|
||||
|
||||
<whisper-transcript audio="audio.mp3" url="audio.json"></whisper-transcript>
|
||||
`,
|
||||
document.querySelector('#demo')
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user