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

Video—embedding or uploading?

I produced a 5 minute video that I'd like to add to my website. I have finished the 'HTML Video and Audio' course, but am now wondering if a video that long should be embedded (Vimeo) instead of uploaded directly.

It'd be great to have more control of the skin and video overall (uploading it directly), but with this file size that could be almost impossible.

Thoughts are welcome. Thank you.

2 Answers

Jason is right, however there can be some benefits to uploading to sites like Vimeo as the video will be exposed to the community on Vimeo which could potentially lead viewers to your page.

Vimeo has a great API for embedding their videos. So I would say their really isn't a wrong way of posting your video, keep in mind the benefits each option has over the other

Jeremy, thanks for the quick reply. As I imagined, using Vimeo is just going to be overall easier and better. I was trying to avoid the fee for the Plus membership, but it might be worth it.

Thanks again!

You can host the video on your on webhost. Nick has a tutorial on styling html5 video players here.

Use handbrake to convert the video into a different video and audio codec. Pick one of the compressed ones.

https://handbrake.fr/

Goodluck. .mov .wmv are pretty small. but mp4 with h.245 codec is very good on size.

Hey Jason, thanks so much for taking the time to answer and for sending along the link.