Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display youtube-like video player in website?

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).

My question is,

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.

2) Will I have to convert the videos to .flv using ffmeg, or is there a way to play them directly as .mpegs/.wmv files?

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)

I'm using PHP 5, MySQL, and Jquery (Javascript) to build this project.

Thanks.

like image 364
Ali Avatar asked Jan 18 '09 07:01

Ali


People also ask

How do I embed a YouTube thumbnail in HTML?

This can be simply done by using the poster attribute. All you have to do is create a poster attribute in the video tag and place the URL of the thumbnail image in it.


1 Answers

Check out (Flowplayer). Flowplayer is a really nice opensource video player for the web.

like image 170
Pafjo Avatar answered Sep 20 '22 03:09

Pafjo