Box Upload Embed Widget
Hi,
I'm trying to use the iframe to embed a folder on one of my websites and it keeps telling me that there are too many redirects. This happens in all of the browsers that I've tested with (Chrome, Safari and Firefox). Does anyone know how to resolve this?
-
Hi ,
Thanks for your detailed post
Have you checked out this thread already to see if the solution helped you:
https://community.box.com/t5/Box-Developer-Forum/Upload-widget-problems/m-p/42229#M2970
If this did not help, do you mind providing more information or other troubleshooting steps you've done?
This will help out other members of the community to answer your question. Thank you!
-
Elaborating - like literally if you paste the embed code into a codepen it won't load in Safari. Really bad.
https://codepen.io/joshkpeterson/pen/LzRmEm -
Hello, is there any solution for this? I also encountered the same issue.
This happens when I clear my cache and cookies and I'm using Safari browser Version 10.1 (11603.1.30.0.34) and Version 10.0 in Ipad. I haven't tried any other versions of Safari.
It has been consistently not working for me and when I have cookies from box.com, it works fine.
-
Hi ,
Thanks for your post and question!
It looks like the issue is difficult to reproduce. For instance, I opened the Codepen URL above in Safari and was able to see the folder successfully:
So I'm not sure what is going on in these cases. I suggest that you contact Box Support to investigate, as they can look deeper into what's going on with your account and environment.
If you'd like to continue troubleshooting with the community, could you provide more detail, perhaps with a public page example of the problematic embed code in action? That level of detail may help the community to figure this out!
-
I have exactly the same issue, and I think I know what causes it.
Safari by default doesn't allow third-party cookies to be set in an iframe when the user hasn't visited that site.
When you paste the link in a new tab, the cookie will be set and the content in the iframe will load.
I was able to reproduce this issue by opening the supplied codepen in a new incognito window (without visiting box.com first).
I would like to add that this is not only the case for the upload widget, but for everything that is loaded in an iframe (in my case an embed link).
-
Hi ,
Thanks for your post!
As no other community members have responded to this discussion, I think your best course of action is to contact Box Support to help you directly. They'll have more tools available to troubleshoot with you and hopefully find the cause.
Thanks again for posting, and if you are able to determine the answer please post it back here – it may help other community members with similar issues!
-
I'm not Box staff but I was able to reproduce the bug with your explanation. In desktop Safari I deleted my box.com cookies, visited my pages with embedded widgets, and I got empty viewers with non-working Download links. I visited Box.com and then PDFs successfully loaded when I refreshed my pages.
I'm not sure whether this is something that needs to be fixed upstream in Safari or whether Box needs to account for this behavior. But it certainly makes me less likely to rely on Box for presenting embedded files.
サインインしてコメントを残してください。
コメント
11件のコメント