我们正在使用flowplayer来运行视频。我必须将allowscriptaccess
设置为'samedomain'
。这样设置是否正确:
flowplayer("player", "/flowplayer-3.2.7.swf", {
clip: {
onStart: function() {
msgs.innerHTML += "Common Clip event listener called<br>";
},
},
allowscriptaccess: 'samedomain'
});
答案 0 :(得分:0)
应该是这样的。
flowplayer("player", {
src: "/flowplayer-3.2.7.swf",
allowscriptaccess: 'samedomain'
}