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

General Discussion

Video player Integration

Hi Guys, I am not sure how to handle video projects ....Could you please recommend me a free video player that can be integrated with any websites to play videos form the server. Or if you know any tutorial, that would be awesome!

Thanks in Advance,


5 Answers

Tom Bedford
Tom Bedford
15,645 Points

Is YouTube embedding an option?


  • No space taken up on your sever for videos.
  • No bandwidth taken up serving videos.
  • Free video player via embedding, works on PC/Mac/Android/iOS


  • ?

Edit: one con would be potential Ads.

Yep, YouTube could be an option, but what if i want to host my videos on web server and play it on my site? .....should i be developing a video player or is it easy to find a free open source video player that can be integrated on my site very easily?

Tom Bedford
Tom Bedford
15,645 Points

You could look at Video JS. I haven't used it but it claims to be an HTML5 player with a flash fallback when needed. Sounds like it should cover playback on most devices.

Oww Cool:) That looks Neat ! i am gonna play around to see if that works for me. Thanks so much for your help!

Depending on your requirements, you may not need a video player at all. Modern browsers support the html5 video element. They're able to play video natively and provide native player controls. The player controls are different from browser to browser which may or may not be a problem for you. So if you only need simple video playback you can use the video element on it's own.

If you're interested in more about what's involved with the self hosted route then I've written more about it in this post: https://teamtreehouse.com/forum/having-issues-with-video-in-html

Using a player like the one Tom linked to will give you a uniform player control across all browsers and add additional features. You can kind of think of it as an extension to the browser's native video player. They still use the video element and you still have to provide several formats.

Oww cool.Thanks Man!