如何上传/发布带有任何文件扩展名的视频到网页 [英] how to upload/post videos with any file extensions to webpage
问题描述
很长一段时间后,我发现我的错误是检索视频并将其发布在网页上。
问题在于处理程序文件。我在处理程序文件中更改了代码,现在我能够成功发布视频。
这是我的真正关注.....
我可以保存所有扩展名的视频(.mp4,.avi,.mpeg,.3GP,.flv等等,但是代码中使用的流程图仅显示带有.mp4扩展名的视频。
任何人都可以通过它来帮助我解决并显示包含所有扩展名的视频.....
Hi, after a long time I found my mistake to retrieve video and post it on the webpage.
The issue was with the handler file. I changed he code in handler file and now I am able to post video successfully.
Here's my real concern.....
I am able to save videos with all the extensions (.mp4,.avi,.mpeg,.3GP,.flv etc) in the database however the flowplayer used in the code only displays videos with .mp4 extensions.
Can any one help me with the solution over it to retrieve and display videos with all the extensions.....
推荐答案
你有两个选择。要么获得支持所需文件格式的其他播放器,要么必须在服务器中实现一些转码,以将视频转换为播放器支持的格式。
You have two choices. Either get a different player that supports all the file formats you want or you have to implement some transcoding in your server to convert the videos to a format the player supports.
这篇关于如何上传/发布带有任何文件扩展名的视频到网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!