問題描述
我正在一個網(wǎng)站上工作,我希望在該網(wǎng)站上上傳攝像機(jī)錄制的視頻,并且僅對登錄用戶可見(但不能下載).我還想編輯視頻,在背景中顯示某些圖像,并可能記下他們上次停止觀看視頻的時間.(即,如果他們在 30 分鐘后停止觀看,我想在他們下次觀看時從 30:00 開始觀看).
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).
我的問題是,
1) 有沒有辦法動態(tài)添加選定的圖像/動畫作為背景和 .mp3 文件作為視頻的配樂,或者我是否必須使用視頻編輯軟件為每個視頻手動執(zhí)行此操作?(將有 100 多個視頻).關(guān)于視頻的任何建議.編輯軟件也很酷.
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) 我是否必須使用 ffmeg 將視頻轉(zhuǎn)換為 .flv,或者有沒有辦法直接將它們作為 .mpegs/.wmv 文件播放?
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) 顯然,我需要某種視頻播放器(如 youtube),您可以在其中暫停/停止/跳過視頻.有沒有辦法使用 Javascript/AJAX 來構(gòu)建它,或者我需要為此購買 Flash 組件嗎?(如果我必須購買一個,任何有關(guān)此類視頻的推薦.播放器將不勝感激)
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)
我使用 PHP 5、MySQL 和 Jquery (Javascript) 來構(gòu)建這個項(xiàng)目.
I'm using PHP 5, MySQL, and Jquery (Javascript) to build this project.
謝謝.
推薦答案
查看 (Flowplayer).Flowplayer 是一款非常棒的網(wǎng)絡(luò)開源視頻播放器.
Check out (Flowplayer). Flowplayer is a really nice opensource video player for the web.
這篇關(guān)于如何在網(wǎng)站中顯示類似 youtube 的視頻播放器?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!