ISS Live

Developer
Size
2,344 Kb
Views
40,480

How do I make an iss live?

What is a iss live? How do you make a iss live? This script and codes were developed by AppleCrazy on 23 September 2022, Friday.

ISS Live Previews

ISS Live - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>ISS Live</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <iframe src="https://www.youtube.com/embed/ddFvjfvPnqk?rel=0&amp;controls=0&amp;showinfo=0&autoplay=1" class="live-img" frameborder="0" volume="0"></iframe>
<div class="clicklayer">&nbsp;</div>
<div id="position">
<!-- {{ label }} {{coords.latitude}}&emsp;{{coords.longitude}} --> <img v-bind:src="mapURL" alt="" />
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.1/vue.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

ISS Live - Script Codes CSS Codes

body { margin: 0; padding: 0; width: 100vw; height: 100vh; color: green; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-weight: bold;
}
.live-img { z-index: -1000; width: 100vw; height: 100vh; margin: 0; padding:0;
}
.clicklayer { z-index: 100; width: 100vw; height: 100vh; margin: 0; padding:0; position:absolute; top:0;
}
#position { position: fixed; bottom: 0px; left: 0px;
}

ISS Live - Script Codes JS Codes

var app = new Vue({ el: "#position", data: { label: "", coords: {}, mapURL: "https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=10&size=350x350&maptype=satellite" }
});
function getLocation() { // console.log("fired"); $.ajax({ url: "https://api.wheretheiss.at/v1/satellites/25544", dataType: "json", success: function(data) { app.label = "Current Position:"; app.coords = data; app.mapURL = `https://maps.googleapis.com/maps/api/staticmap?center=${app.coords.latitude},${app.coords.longitude}&zoom=10&size=350x350&maptype=satellite`; }, error: function(dt, status, req) { app.label = "Location unavailable. Sorry!"; app.coords = {}; } });
}
$(function() { getLocation(); window.setInterval(getLocation, 1000);
});
ISS Live - Script Codes
ISS Live - Script Codes
Home Page Home
Developer AppleCrazy
Username applecrazy
Uploaded September 23, 2022
Rating 3
Size 2,344 Kb
Views 40,480
Do you need developer help for ISS Live?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

AppleCrazy (applecrazy) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!