Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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!