mirror of
https://github.com/Foltik/Shimapan
synced 2024-12-11 05:52:18 -05:00
28 lines
918 B
HTML
28 lines
918 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link href="/css/index.min.css" type="text/css" rel="stylesheet"/>
|
|
<script src="/js/index.min.js" defer></script>
|
|
<title>「shimapan.rocks」</title>
|
|
</head>
|
|
<body>
|
|
<a href="/login"><img src="/img/flower.png"/></a>
|
|
<canvas id="canvas">
|
|
きみのブラウザはキャンバスを対応しません。Chromeを ダウンロードしてください。
|
|
</canvas>
|
|
<video autoplay loop id="video">
|
|
</video>
|
|
<script>
|
|
var videos = [
|
|
"/img/edge.webm"
|
|
];
|
|
var video = document.createElement("source");
|
|
video.setAttribute("src", videos[Math.floor(Math.random() * videos.length)]);
|
|
video.setAttribute("type", "video/mp4");
|
|
document.getElementById("video").appendChild(video);
|
|
document.getElementById("video").volume = 0.2;
|
|
</script>
|
|
<div id="buffer"></div>
|
|
</body>
|
|
</html> |