title: How to display youtube-like video player in website?
body: <p>I'm working on a website where I want camera-recorded vidoes to be uploaded, and be viewable (but not downloadable) to logged-in users only. I'd also like to edit the videos, have certain images appear in the background, and possibly note the time at which they last stopped watching a video. (I.e if they stopped watching after 30 mins, i'd like to start the video from 30:00 the next time they view it).</p>
  
  <p>My question is,</p>
  
  <p>1) Is there a way to dynamically add the selected images/animation as the background and .mp3 file as the soundtrack to the video, or will I have to do this manually for every video using a video editing software? (There will be 100+ videos). Any recommendations on the vid. editing software would be cool too.</p>
  
  <p>2) Will I have to convert the videos to .flv using <a href="http://ffmpeg.mplayerhq.hu/" rel="noreferrer">ffmeg</a>, or is there a way to play them directly as .mpegs/.wmv files?</p>
  
  <p>3) Obviously I'd need some kind of a video player (like youtube) where you can pause/stop/skip through the video. Is there a way to build this using Javascript/AJAX, or do I need to purchase a flash component for this? (If I have to purchase one, any recommendations for such a vid. player would be appreciated)</p>
  
  <p>I'm using PHP 5, MySQL, and Jquery (Javascript) to build this project.</p>
  
  <p>Thanks.</p>