-
Notifications
You must be signed in to change notification settings - Fork 0
/
video.html
24 lines (22 loc) · 858 Bytes
/
video.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Document</title>
<!-- Development Version, Uncompressed with Source Maps -->
<script src="aframe.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<video id="video" autoplay loop="true" src="assets/720p.mp4">
</a-assets>
<!-- Using the asset management system. -->
<!-- <a-video src="#penguin-sledding" width="16" height="9" position="0 0 -20"></a-video> -->
<a-videosphere src="#video" rotation="0 180 0"></a-videosphere>
</a-scene>
</body>
</html>