Video encoder for JavaScript for my website?
I am currently working on developing my first website where my users can upload their own videos to my site and share it by public or private. Does anyone know what encoder that would work for JavaScript? I heard about http://videojs.com/, from where I look at it this is very nice to have, but I don't know anything about HTML5 because this language is new to me and I would really want something similar that would let me encode videos and embedded to my site or other sites. 

Please help! 
Video encoder for JavaScript for my website?
===

I am currently working on developing my first website where my users can upload their own videos to my site and share it by public or private. Does anyone know what encoder that would work for JavaScript? I heard about http://videojs.com/, from where I look at it this is very nice to have, but I don't know anything about HTML5 because this language is new to me and I would really want something similar that would let me encode videos and embedded to my site or other sites. 

Please help! 