1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 23:53:31 -05:00
shimapan/public/views/index.html
2017-10-20 16:46:14 -04:00

30 lines
970 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.mp4",
"/img/endthis.mp4",
"/img/hell.mp4"
];
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>