Files
tape-record/index.html
T
2024-10-29 01:12:23 +01:00

27 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tape Record</title>
<link rel="stylesheet" href="style.css">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script type="text/javascript" src="main.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<main id="app" style="display:none">
<h1>Tape Record</h1>
<br>
<p>
<input type="file" id="file" accept="audio/*" v-on:change="changeFile"/><br>
</p>
<div>
<button @click="onPlay" :disabled="!canPlay">⏵Play</button>&nbsp;
<button @click="onStop" :disabled="!canStop">⏹ Stop</button>
</div>
<h1 :id="rid" :title="rid" :style="{color: color}">{{ remaining }}</h1>
<small><a href="https://github.com/klemek" target="_blank">@Klemek</a> - <a href="https://github.com/klemek/tape-record" target="_blank">Github Repository</a> - 2024</small>
</main>
</body>
</html>