bricks/examples/recorder.html

27 lines
416 B
HTML
Raw Normal View History

2024-01-24 16:21:31 +08:00
<html>
<head>
</head>
<body>
<script src="/bricks/bricks.js"></script>
<script>
const opts =
{
"widget": {
2024-01-29 17:46:32 +08:00
"id":"recorder",
"widgettype":"AudioRecorder",
2024-01-24 16:21:31 +08:00
"options":{
2024-01-29 17:46:32 +08:00
"height":"40px",
"start_icon":"/bricks/imgs/start_recording.png"
2024-01-24 16:21:31 +08:00
}
}
}
;
const app = new BricksApp(opts);
2024-01-29 17:46:32 +08:00
console.log('here ..........');
2024-01-24 16:21:31 +08:00
app.run();
2024-01-29 17:46:32 +08:00
console.log('here 1..........');
2024-01-24 16:21:31 +08:00
</script>
</body>
</html>