我面前有一项任务,但我不知道最简单的方法来解决。目前,我正在为一位客户在 Symfony 中构建一个管理部分,她想上传视频。她具有转换能力,并将使用我指定的格式,但我只是不知道跨浏览器兼容性最好的是什么。我认为 .mov 看起来不错,但我不知道。我想要简单的嵌入代码并用 js 替换视频 src。一如既往地感谢所有帮助。
提前谢谢你,
I have a task ahead of me that I do not know the easiest way to address. Currently I am building out an admin section in Symfony for a client and she would like to upload video. She has the capability of conversion and will use the format I specify but I just do not know what the best on is for cross browser compatibility. I think .mov seems pretty good but I do not know. I would like simple embed code and to swap out the video src with js. Any and all help appreciated as always.
Thank you in advance,
发布评论
评论(1)
我认为目前最好的选择是在带有基于 Flash 的视频播放器的 mp4 容器中使用 H264,例如
http://flowplayer.org/
http://www.longtailvideo.com/players/jw-flv-player/
如果您想使用 HTML5 视频,我建议您使用一些 Flash Hybrid 以获得最大的浏览器支持,
请查看:
http://www.longtailvideo.com/support/jw-player/jw-player-for-html5
I think currently the best option is H264 in a mp4-container with Flash based video player such as
http://flowplayer.org/
http://www.longtailvideo.com/players/jw-flv-player/
If you want use HTML5 video I would suggest that you use some flash hybrid to get maximum browser support
Check this out:
http://www.longtailvideo.com/support/jw-player/jw-player-for-html5