American Sign Language Video Generator
About this app
Create videos of American Sign Language translations quickly and easily with our interactive video generator.
American Sign Language Video Generator American Sign Language Video Generator Type a phrase and click generate to see ASL signs! Generate ASL Signs
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>American Sign Language Video Generator</title>
<meta name="description" content="Create videos of American Sign Language translations quickly and easily with our interactive video generator.">
<meta name="keywords" content="American Sign Language, Video Generator, ASL, Sign Language, Interactive, Creation">
<!-- Libraries -->
<!-- jQuery (3.6.0) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS (5.3.3) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<!-- Bootstrap JS (5.3.3) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
<!-- Font Awesome (6.6.0) -->
<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 signsDatabase = {
"hello": "https://example.com/images/hello_sign.png",
"thank you": "https://example.com/images/thank_you_sign.png",
"please": "https://example.com/images/please_sign.png",
// Add more signs as needed
};
document.addEventListener("DOMContentLoaded", function() {
const inputField = document.getElementById('input-text');
const generateButton = document.getElementById('generate-video');
const videoContainer = document.getElementById('video-container');
generateButton.addEventListener('click', function() {
const text = inputField.value.toLowerCase();
videoContainer.innerHTML = ""; // Clear previous videos
text.split(' ').forEach(word => {
const imgSrc = signsDatabase[word];
if (imgSrc) {
const imgElement = document.createElement('img');
imgElement.src = imgSrc;
imgElement.alt = word + ' sign';
imgElement.classList.add('sign-image', 'animate__animated', 'animate__fadeIn');
videoContainer.appendChild(imgElement);
} else {
const errorMessage = document.createElement('p');
errorMessage.textContent = `No sign available for "${word}"`;
errorMessage.classList.add('text-danger');
videoContainer.appendChild(errorMessage);
}
});
});
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background: linear-gradient(135deg, #92f6f8 0%, #f6b9d9 100%);
font-family: Arial, sans-serif;
color: #333;
padding: 20px;
}
.container {
text-align: center;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.sign-image {
width: 150px;
margin: 10px;
transition: transform 0.2s;
}
.sign-image:hover {
transform: scale(1.1);
}
#input-text {
margin-bottom: 20px;
padding: 10px;
width: 80%;
border: 2px solid #00aaff;
border-radius: 5px;
}
#generate-video {
padding: 10px 20px;
background-color: #00aaff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
#generate-video:hover {
background-color: #0088cc;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>American Sign Language Video Generator</h1>
<p>Type a phrase and click generate to see ASL signs!</p>
<input type="text" id="input-text" placeholder="Enter text here...">
<button id="generate-video">Generate ASL Signs</button>
<div id="video-container" class="mt-4"></div>
</div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
</body>
</html>
NEW APPS
These are apps made by the community!