如何通过' allowscriptaccess' flowplayer的参数

时间:2015-09-08 14:20:29

标签: jquery flowplayer

我们正在使用flowplayer来运行视频。我必须将allowscriptaccess设置为'samedomain'。这样设置是否正确:

flowplayer("player", "/flowplayer-3.2.7.swf",  {
  clip: {
    onStart: function() {
      msgs.innerHTML += "Common Clip event listener called<br>";
    },
  },
  allowscriptaccess: 'samedomain'
});

1 个答案:

答案 0 :(得分:0)

应该是这样的。

flowplayer("player", {
        src: "/flowplayer-3.2.7.swf",
        allowscriptaccess: 'samedomain'
    }