Welcome to the new Box Support website. Check out all the details here on what’s changed.

Box Upload Embed Widget

New post

Comments

11 comments

  • Howard

    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!

     

    0
    Comment actions Permalink
  • rpmdev

    Hey, this is happening for me in Safari. I've confirmed on another machine. I don't really want to build a single page app just to do this, as advised in your solution. 

    I think there's an issue with Box's server config and this issue should be escalated.

    0
    Comment actions Permalink
  • rpmdev

    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

    0
    Comment actions Permalink
  • tonyjin

    Hello! Can you please try clearing your cookies (or try a Safari private window) with that CodePen? I was unable to reproduce with Safari 11.0 (12604.1.38.1.7).

    0
    Comment actions Permalink
  • s1lverain

    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.

    0
    Comment actions Permalink
  • nutriprofits

    +1 to above. I've the same problem with Safari 11.0.1 (13604.3.5). On other browser works fine.

     

    0
    Comment actions Permalink
  • scottdodds

    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:

    Screen Shot 2017-11-20 at 10.47.59 AM.png

     

     

     

    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!

     

    0
    Comment actions Permalink
  • thijshendrikx

    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).

    0
    Comment actions Permalink
  • thijshendrikx

    Hi ,

     

    is this issue still under investigation?

    Is it possible for you to reproduce with the instructions I supplied, or do you need more information?

     

    0
    Comment actions Permalink
  • scottdodds

    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!

     

    0
    Comment actions Permalink
  • cvilla

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.