用PHP上传和显示视频? [英] Video upload and display in PHP?
问题描述
我想将视频上传到服务器,然后使用某些播放器(如 youtube)使用 PHP 将其显示在网页上.
I want to upload video to server and then display it on web page using some player (like youtube) using PHP.
我的客户问:视频不得超过 2 分钟,并且采用 Quicktime、WMV、Mp4 或 FLV 格式."
My client ask: "Videos must be no longer than 2 minutes and in either Quicktime, WMV, Mp4 or FLV format."
是否有任何开源脚本可以帮助我上传具有客户要求的视频,然后是播放该视频的开源播放器?
Is there any opensource script which help me to upload a video with client requirements and then an opensource player which plays that video?
请帮忙!
谢谢
推荐答案
这是我最喜欢的解决方案:http://flowplayer.org/
This is my favourite solution: http://flowplayer.org/
它可以控制视频很多:它使用javascript设置和嵌入式Flash视频播放器.
It enables to control the video quite a lot: it uses javascript settings and embedded flash video player.
如果您正在寻找好的上传者,请尝试http://code.google.com/p/swfupload/
if you look for good uploader, try http://code.google.com/p/swfupload/
它可以进行多次上传和文件类型检查.
It can do multiple uploads, and filetype checks.
这篇关于用PHP上传和显示视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!