contingent-space-website/backCamera.html
2025-04-15 00:02:58 +02:00

101 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<base href="https://www.lukasrosier.com">
<style>
body {
margin: 10vw;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
background-image: radial-gradient(circle, midnightblue 0.5px, ghostwhite 1px);
background-size: 10px 10px;
}
img {
height: 100%;
width: 100%;
object-fit: contain;
}
ul {
background-color: white;
}
/* Style for the mail icon */
.mail-icon {
position: fixed;
bottom: 20px;
left: 20px;
font-size: 24px;
font-weight: 100;
text-decoration: underline;
color: #000; /* Change the color as desired */
background-color: white;
z-index: 9999; /* Ensure it's on top of other content */
}
.ring-icon {
position: fixed;
bottom: 20px;
right: 20px;
font-size: 24px;
font-weight: 100;
text-decoration: underline;
color: #000; /* Change the color as desired */
background-color: white;
z-index: 9999; /* Ensure it's on top of other content */
}
.rabbit-icon {
position: fixed;
top: 20px;
left: 20px;
font-size: 24px;
font-weight: 100;
text-decoration: overline;
color: #000; /* Change the color as desired */
background-color: white;
z-index: 9999; /* Ensure it's on top of other content */
}
.elephant-icon {
position: fixed;
top: 20px;
right: 20px;
font-size: 24px;
font-weight: 100; text-decoration: overline;
color: darkgrey; /* Change the color as desired */
background-color: white;
z-index: 9999; /* Ensure it's on top of other content */
}
</style>
</head>
<body>
<video id="video" autoplay playsinline style="width: 100%; height: auto;"></video>
<script>
const video = document.getElementById('video');
navigator.mediaDevices.getUserMedia({
video: { facingMode: { exact: 'environment' } } // Rückkamera
}).then((stream) => {
video.srcObject = stream; // Stream in Video-Element einbinden
});
</script>
<!-- Mail icon with mail link &#128233; -->
<a class="mail-icon" href="mailto:mail@lukasrosier.com">mail</a>
<!-- ring icon with mail link ⭕-->
<a class="ring-icon" href="https://hausdermaterialisierung.org">hdm</a>
<!-- rabbit icon with mail link 🐰-->
<a class="rabbit-icon" href="https://data.lukasrosier.com">data</a>
<!-- elephant icon with mail link 🐘-->
<a class="elephant-icon" href="https://git.lukasrosier.com">git</a>
</body>
</html>