CocoaHTTPServer
CocoaHTTPServer copied to clipboard
video doesn't load with https url in wkwebview
html5 video loads fine using http web server in wkwebview on iOS10. But same doesn't load when I make server secure.
img loads up fine in html page inside wkwebview using http or https webserver.
below snapshot shows 2 wkwebviews. upper one loads html page with https url and lower one loads html page with http url

Modified code in iPhoneHTTPServer to host 2 webservers on different ports in the app. One secure and other unsecure.
Any suggestion to fix the issue ?
Hi Anand, did you find any fix? I'm facing same issue with audio, video files after I made local host server secure/https.
No. Ended up taking exception for local network. Its known bug in apple's code. Opened up bug on Apple but it was resolved as dupe to another bug.
Sent from my iPhone
On Jan 26, 2017, at 3:01 PM, iosappdeveloper <[email protected]mailto:[email protected]> wrote:
Hi Anand, did you find any fix? I'm facing same issue with audio, video files after I made local host server secure/https.
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/robbiehanson/CocoaHTTPServer/issues/168#issuecomment-275541384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGwkGWMiPbPskG98fA3GyOK57OEUWgLMks5rWSWTgaJpZM4KPEBM.
Thanks for your quick response. If you get a chance, please put a link to the apple bug.
@anandjp I am sure you checked, but double checking with you the URL of you video is https too in the 1st scenario, as loading insecure content in secure HTML will break the ability to start the video
@iosappdeveloper, my bug was duped to Apple bug 28218873. @charlymr, yes! url of the video was https too.