OneDriver选择器在身份验证过程后不会加载,而是显示一个微调器。
复制步骤
已测试OneDrive脚本:
用于启动OneDriver选择器的代码:
function launchOneDriverPicker() {
debugger;
var odOptions = {
clientId: "${clientId}",
action: "share",
multiSelect: true,
openInNewWindow: true,
advanced: {
redirectUri: "${redirectUri}"
},
success: function(r) {
},
cancel: function() {
},
error: function(error) {
}
};
OneDrive.open(odOptions);
}
测试环境: -Chrome(正常/隐身) -Firefox(正常/隐身)
步骤
<html>
<head>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<script type="text/javascript" src="https://js.live.net/v7.2/OneDrive.debug.js"></script>
</head>
</html>
附加说明
参考