Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Cesar Vanbuskirk
Cesar Vanbuskirk
6,672 Points

How to add a video background?

how was this background video created or embedded? It looks really high quality unlike others i've seen, what would be the steps necessary to create this? http://new.theuprisingcreative.com/

1 Answer

Jan Van Raemdonck
Jan Van Raemdonck
22,961 Points

That's actually not a video. It was created with the canvas element along with some advanced Javascript code. WebGl technology makes the 3D render very nicely in the browser. If you just want to have a video play on the background, Here's a nice tutorial: http://demosthenes.info/blog/777/Create-Fullscreen-HTML5-Page-Background-Video

Cesar Vanbuskirk
Cesar Vanbuskirk
6,672 Points

Thank you! Exactly what I was looking for!