Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何在mp4文件缓冲时播放flowplayer?_Javascript_Jquery_Flowplayer - Fatal编程技术网

Javascript 如何在mp4文件缓冲时播放flowplayer?

Javascript 如何在mp4文件缓冲时播放flowplayer?,javascript,jquery,flowplayer,Javascript,Jquery,Flowplayer,它总是播放只有当mp4是完全加载,我想它播放的同时,视频缓冲,这是可能的吗 谢谢。我使用带有这些设置的flowplayer,视频在缓冲时启动 flowplayer("player", { // our Flash component src: "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", /

它总是播放只有当mp4是完全加载,我想它播放的同时,视频缓冲,这是可能的吗


谢谢。

我使用带有这些设置的flowplayer,视频在缓冲时启动

           flowplayer("player", {

                  // our Flash component
                 src: "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",
                     // we need at least this Flash version
                      version: [9, 115],
                   // older versions will see a custom message
                     onFail: function()  {
                      document.getElementById("info").innerHTML =
                     "You need the latest Flash version to see MP4 movies. " +
                        "Your version is " + this.getVersion();                           
                        }
                    // here is our third argument which is the Flowplayer configuration
                   },
                     {
                    clip: {
                            url: "<?php echo($fileName); ?>",
                            autoPlay: false,
                            autoBuffering: true
                        }
                      });
flowplayer(“播放器”{
//我们的Flash组件
src:“http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",
//我们至少需要这个Flash版本
版本:[9115],
//旧版本将看到一条自定义消息
onFail:function(){
document.getElementById(“info”).innerHTML=
“您需要最新的Flash版本才能观看MP4电影。”+
“您的版本是”+this.getVersion();
}
//这是我们的第三个参数,它是Flowplayer配置
},
{
剪辑:{
url:“”,
自动播放:错误,
自动缓冲:对
}
});

我认为“自动缓冲”是您需要的

发布您的flowplayer设置。。这会有帮助的。。