簡體   English   中英

在Internet Explorer 11中使用SoundCloud進行身份驗證時出現問題

[英]Issue authenticating with SoundCloud in Internet Explorer 11

我正在嘗試編寫一些連接到SoundCloud的JavaScript代碼,並在我的Soundcloud配置文件中列出曲目。 https://soundcloud.com/bigwedgeofcheese

我一直在按照以下說明進行操作: https : //developers.soundcloud.com/docs/api/sdks

按照說明,我已經在本地托管的網站上添加了一個名為callback.html的頁面。

我在Chrome中沒有問題,但是在Internet Explorer中,“允許“ SoundcloudTestApp”訪問您的SoundCloud帳戶后,出現以下錯誤?” 頁面已消失。

行:7錯誤:無法獲取未定義或空引用的屬性“ setTimeout”

這是從這里來的:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Connect with SoundCloud</title>
</head>
<body onload="window.opener.setTimeout(window.opener.SC.connectCallback, 1)">
    <b style="width: 100%; text-align: center;">This popup should automatically close in a few seconds</b>
</body>
</html>

但這在Chrome中可以正常使用。 有人可以幫忙嗎? 如果您需要更多信息,請告訴我,我將添加它。 謝謝

我剛剛發現我需要在Soundcloud應用程序設置中選中“是,我已閱讀並接受了開發者政策*”復選框。

現在一切都很好。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM