Browse Source

- Added info panel on video demo.

Mr.doob 15 years ago
parent
commit
a1eee92ef8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      examples/materials_video.html

+ 8 - 0
examples/materials_video.html

@@ -54,6 +54,14 @@
 				container = document.createElement('div');
 				document.body.appendChild(container);
 
+				var info = document.createElement('div');
+				info.style.position = 'absolute';
+				info.style.top = '10px';
+				info.style.width = '100%';
+				info.style.textAlign = 'center';
+				info.innerHTML = '<a href="http://github.com/mrdoob/three.js" target="_blank">three.js</a> - video demo. playing <a href="http://durian.blender.org/" target="_blank">sintel</a> trailer';
+				container.appendChild(info);
+
 				camera = new THREE.Camera(0, 0, 500);
 				camera.focus = 300;