我不知道如何从 JPlayer 所在的页面设置nativeSupport
为false
。
我试图改变的代码是这样的:
$.jPlayer.defaults = {
cssPrefix: "jqjp",
swfPath: "js",
volume: 80,
oggSupport: false,
nativeSupport: true, //I want to change this one to false
preload: 'none',
customCssIds: false,
graphicsFix: true,
errorAlerts: false,
warningAlerts: false,
position: "absolute",
width: "0",
height: "0",
top: "0",
left: "0",
quality: "high",
bgcolor: "#ffffff"
};
我试过这个没有运气:
$("#jquery_jplayer").jPlayer("option", "nativeSupport", "false");
任何帮助深表感谢。谢谢。