1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 22:41:47 -05:00
shimapan/public/views/index.html
2018-01-15 17:13:35 -05:00

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>