1 Million Times Video Generator
About this app
Create engaging videos by generating visuals up to 1 million times faster with our interactive tool. Fun, colorful, and responsive design!
1 Million Times Video Generator 1 Million Times Video Generator Input the length of your video (seconds) and the number of times you want it generated: Generate Videos Generating....
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>1 Million Times Video Generator</title>
<meta name="description" content="Create engaging videos by generating visuals up to 1 million times faster with our interactive tool. Fun, colorful, and responsive design!">
<meta name="keywords" content="video generator, fast video creation, multimedia, interactive video app, creative tool">
<!-- Libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
let videoSeconds, totalVideos;
function generateVideos() {
const videoInput = document.getElementById('videoInput').value;
const timesInput = document.getElementById('timesInput').value;
videoSeconds = parseInt(videoInput);
totalVideos = parseInt(timesInput);
if (isNaN(videoSeconds) || videoSeconds <= 0 || isNaN(totalVideos) || totalVideos <= 0) {
alert("Please enter valid numbers for video length and times to generate.");
return;
}
const progressBar = $("#progress-bar");
const progressLabel = $("#progress-label");
let currentVideo = 0;
progressBar.attr('aria-valuenow', 0).css('width', '0%');
progressLabel.text("Generating...").show();
const interval = setInterval(function() {
currentVideo++;
const progress = Math.round((currentVideo / totalVideos) * 100);
progressBar.attr('aria-valuenow', progress).css('width', progress + '%');
if (currentVideo >= totalVideos) {
clearInterval(interval);
progressLabel.text("Finished generating " + totalVideos + " videos.");
}
}, 1000 * videoSeconds); // Simulate video generation time
}
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
document.getElementById('generateButton').addEventListener('click', generateVideos);
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
body {
background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
color: #333;
}
.container {
margin-top: 50px;
text-align: center;
border-radius: 10px;
background-color: white;
padding: 30px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.container:hover {
transform: scale(1.02);
}
h1 {
color: #5c67fd;
}
.progress {
background-color: #f5f5f5;
border-radius: 5px;
margin-top: 20px;
}
.progress-bar {
background-color: #76c7c0;
transition: width 0.5s;
}
button {
background-color: #5c67fd;
color: white;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>1 Million Times Video Generator</h1>
<p>Input the length of your video (seconds) and the number of times you want it generated:</p>
<div class="mb-3">
<input type="number" id="videoInput" placeholder="Video Length (seconds)" class="form-control" min="1" required>
</div>
<div class="mb-3">
<input type="number" id="timesInput" placeholder="Number of Generations" class="form-control" min="1" required>
</div>
<button id="generateButton" class="btn btn-lg">Generate Videos</button>
<div class="progress mt-4" style="height: 30px;">
<div id="progress-bar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
</div>
</div>
<div id="progress-label" class="mt-2" style="display:none;">Generating....</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!