【发布时间】:2015-07-23 16:29:40
【问题描述】:
我想以 Html5 作为主要流向我们的客户提供 OnDemand Video。 客户端使用的是 IE 和 Firefox 浏览器,并且没有安装 adobe player 插件,因为其中的视频无法通过 flash(rtmp) 流式传输,所以我们推送了 html5 视频流。
代码: jwplayer("myElement").setup({
playlist: [{
sources: [
{
file: "http://xxxxxxx/vod/mp4:tektr_hssd.mp4/playlist.m3u8",
type: "mp4",
primary : html5
},
{
file: "rtmp://xxxxxx/vod/mp4:tek_hssd.mp4"
}]
}],
image: "/uploads/a123.jpg",
androidhls: "true",
autostart: true,
width: "100%",
aspectratio: "4:3"
});
我没有在浏览器上获得任何流(firefox 和 IE(8))
【问题讨论】:
标签: jwplayer