The Pup Show - AI Videos
About this app
Watch full AI videos of The Pup Show episodes
The Pup Show - AI Videos
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>The Pup Show - AI Videos</title>
<meta name="description" content="Watch full AI videos of The Pup Show episodes">
<meta name="keywords" content="The Pup Show, Paw Patrol, AI videos">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
document.addEventListener("DOMContentLoaded", function() {
// Get the main container
var mainContainer = document.getElementById("main-container");
// Create the years buttons
for (var year = 1968; year <= 2023; year++) {
var button = document.createElement("button");
button.innerHTML = year;
button.classList.add("btn", "btn-primary", "my-2", "mx-1");
button.addEventListener("click", function() {
// Show the AI video for the selected year
showAIVideo(this.innerHTML);
});
mainContainer.appendChild(button);
}
// Function to show the AI video for a specific year
function showAIVideo(year) {
// Clear the main container
mainContainer.innerHTML = "";
// Create the video element
var video = document.createElement("video");
video.src = getAIVideoURL(year);
video.controls = true;
video.classList.add("w-100");
mainContainer.appendChild(video);
}
// Function to get the AI video URL for a specific year
function getAIVideoURL(year) {
// Define the AI video URLs for each year
var videoURLs = {
1968: "https://example.com/1968_ai_video.mp4",
1969: "https://example.com/1969_ai_video.mp4",
1975: "https://example.com/1975_ai_video.mp4",
1976: "https://example.com/1976_ai_video.mp4",
1983: "https://example.com/1983_ai_video.mp4",
1984: "https://example.com/1984_ai_video.mp4",
1985: "https://example.com/1985_ai_video.mp4",
2013: "https://example.com/2013_ai_video.mp4",
2015: "https://example.com/2015_ai_video.mp4",
2019: "https://example.com/2019_ai_video.mp4",
2023: "https://example.com/2023_ai_video.mp4"
};
// Return the AI video URL for the specified year
return videoURLs[year] || "";
}
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #f1f1f1;
font-family: 'Roboto', sans-serif;
}
.btn {
font-size: 18px;
border-radius: 30px;
}
video {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- App HTML Goes Here -->
</div>
</body>
</html>
NEW APPS
These are apps made by the community!