Image and video not appear on iOS

Tagged: , , ,

This topic contains 6 replies, has 2 voices, and was last updated by  Scott Lang 2 weeks, 3 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22271

    Hilman Fajrian
    Participant

    I am developing iOS app. When tested it on Iphone and simulator, all image not visible. (note: the Android app runs well)

    Video player on iOS (S3 video) also not appear and not clickable. This issue does not happen on android app.

    Image posted below.

    Need help to fix this.

    #22272

    Hilman Fajrian
    Participant
    This reply has been marked as private.
    #22318

    Hilman Fajrian
    Participant

    I think I have the same iOS problem with this thread:

    https://wplms.io/forums/topic/home-page-didnt-show-pictures/

    Because WKWebview has CORS problem. So I need to force/change WKWebview to UIwebview. I have changed to UIwebview, but no luck. I think UIwebview still does not work because there is not configuration about UIwebview in imageCache.ts.

    How do you think?

    #22585

    Hilman Fajrian
    Participant

    The problem is resolved.

    The root of problem is Cloudflare. Once I deactivated cloudflare, problem solved.

    #22644

    Scott Lang
    Keymaster

    Thanks for updating the solution.

    It looks like some network security issue .

    #22684

    Hilman Fajrian
    Participant

    I think this solution is temporary. Because it is harmful and a disadvantage to disable CDN Cloudflare on my site. It is support my site speed and security.

    On iOS when CDN activated, it successfully get API from original site host/IP. But all image and video requested to CDN IP — and caused the image and video not appear.  This is confusing and not happening on Android version.

     

    Any solution?

    #22949

    Scott Lang
    Keymaster

    Hi,

    It looks like there is some caching in image .

    Make sure you have backed up imageCache.ts file 

    Please use this code as imageCache.ts : https://bit.ly/2G9pS8O

     

     

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.