如何流播放器播放,而mp4文件是缓冲

How to flowplayer play while a mp4 file is buffering?

本文关键字:mp4 文件 缓冲 何流 播放器 播放      更新时间:2023-09-26

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

谢谢。

我用这些设置和视频开始时,它的缓冲

           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
                        }
                      });

我认为"autoBuffering"是你正在寻找的