Как играть в flowplayer при буферизации файла mp4? - PullRequest
3 голосов
/ 30 сентября 2011

Он всегда воспроизводится, только когда mp4 полностью загружен, я хотел бы, чтобы он воспроизводился во время буферизации видео, возможно ли это сделать?

1 Ответ

1 голос
/ 30 сентября 2011

Я использую 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
                        }
                      });

Я думаю, что "autoBuffering" это то, что вы ищете

...