Screen Recorder Tool
Screen Recorder Tool
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #f5a623, #f76b1c);
}
.container {
background: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 20px;
max-width: 600px;
width: 100%;
text-align: center;
}
h1 {
color: #f76b1c;
}
.controls {
margin: 20px 0;
}
button {
background: #f76b1c;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 10px;
cursor: pointer;
margin: 5px;
transition: background 0.3s ease;
}
button:hover {
background: #f5a623;
}
button:disabled {
background: #ccc;
cursor: not-allowed;
}
video {
width: 100%;
border-radius: 10px;
margin-top: 20px;
}
let recorder, stream;
const startButton = document.getElementById('start-record-btn');
const stopButton = document.getElementById('stop-record-btn');
const downloadButton = document.getElementById('download-record-btn');
const videoPreview = document.get
No comments:
Post a Comment