From a1eee92ef808f18a5f1a1682ff9e6352ebcc23eb Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Fri, 11 Jun 2010 03:37:55 +0100 Subject: [PATCH] - Added info panel on video demo. --- examples/materials_video.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/materials_video.html b/examples/materials_video.html index 9f79ca9a..30b6674b 100644 --- a/examples/materials_video.html +++ b/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 = 'three.js - video demo. playing sintel trailer'; + container.appendChild(info); + camera = new THREE.Camera(0, 0, 500); camera.focus = 300;