0
缓冲问题。流水游戏中的缓冲
这是我的代码,我设置了autoBuffering:true,但是当我从服务器运行视频时,它看起来像不会缓冲。当它在本地加载视频时很好。
var player = $f("player", {
src: "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",
version: [9, 115],
onFail: function() {
document.getElementById("info").innerHTML =
"You need the latest Flash version to see MP4 movies. " +
"Your version is " + this.getVersion();
}
}, {
clip: {
url:"http://path/Videos/04. The White Shirt.mp4
autoBuffering: true,
bufferLength : 2, autoPlay: true,
}
});
当我在服务器上运行mp4文件时,我没有任何问题。我怀疑它可能与你的服务器有关,但如果你可以提供你的服务器的mp4文件的链接,那么这将更容易检查。 此外,您已将自动播放设置为true,这将导致自动缓冲区无论其设置如何都为true。 –