I have had a look at a couple of players like Flow Player, JW Player and a couple more but I can't get it to work exactly in PHP code.

我已经看过一些播放器,比如Flow Player, JW Player,还有一些,但是我不能让它在PHP代码中工作。

Is there any way to play FLV within HTML Video Tags?

有办法在HTML视频标签中播放FLV吗?

I know MP4 and OGG files will but the thing that I am working on will produce an FLV file.

我知道MP4和OGG文件,但是我正在做的事情将会产生一个FLV文件。

4 个解决方案

#1


10

You should look at video.js from www.videojs.com I have been using it streaming live video feeds. It mimicks the video tag like this:

你应该看看视频。js来自www.videojs.com,我一直在使用它流直播视频。它像这样模仿视频标签:

<video id="example_video_1" class="video-js vjs-default-skin"
 controls preload="auto" width="640" height="480"
 poster="http://video-js.zencoder.com/oceans-clip.png"
 data-setup='{"example_option":true}'>
<source src="rtmp://localhost/live/test" type="rtmp/flv">
</video>

Works very well for me.

很适合我。

更多相关文章

  1. 从数据库中读出来的是html标签,如何转换
  2. 9.1.4 前端 - HTML body标签 - 标题,段落,分割线,换行,特殊符号,列
  3. 怎么用.net把带html标签的字符导出到Excel
  4. 用Jsoup实现html中标签替换
  5. HTML5新增标签与属性
  6. HTML新手求解。关于CSS对于li标签的active状态的背景颜色
  7. html5 css3 背景视频循环播放代码
  8. HTML5 标签audio添加网页背景音乐代码
  9. AngularJS使用双向数据绑定将img元素标签中的图像显示为源?

随机推荐

  1. Python之CMDB资产管理系统
  2. 在python中,如何能同时打开多个excel而只
  3. 怎样写贪吃蛇小游戏?用100行python代码轻
  4. python 的基础学习 第九天 文件的操作
  5. 是否可以在没有安装铁python的PC上运行编
  6. Django管理员提出CSRF验证失败
  7. Python2.6及后期版本的新特性——接口和
  8. TensorFlow数据集(一)——数据集的基本使用
  9. 当我运行createsuperuser获取HTTP 401错
  10. 《Python核心编程》18.多线程编程(三)