Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Local Files #9

Open
kstangel opened this issue Nov 17, 2014 · 6 comments
Open

Launch Local Files #9

kstangel opened this issue Nov 17, 2014 · 6 comments

Comments

@kstangel
Copy link
Contributor

Launch Local Files such as file://

@matt-cook
Copy link
Member

It appears this is not possible via file:// URLs. Throws an error on Webview initialization. Workaround suggested here probably wouldn't work for this application: http://stackoverflow.com/questions/23374184/load-local-file-in-chrome-app-webview

@matt-cook
Copy link
Member

Re-opening since it's theoretically possible via: https://developer.chrome.com/apps/fileSystem and we've had additional requests for this feature.

@matt-cook matt-cook reopened this May 29, 2015
@matt-cook
Copy link
Member

This work is in progress. Will likely use a modified version of https://github.com/kzahel/web-server-chrome

In the meantime (on systems other than ChromeOS) the recommended solution is to use a simple local HTTP server (such as Mongoose: https://code.google.com/p/mongoose/)

@kzahel
Copy link
Contributor

kzahel commented Mar 2, 2016

Worked on support for this feature today: https://github.com/zebradog/kiosk/pull/90

@matt-cook
Copy link
Member

Added in de09d80

@matt-cook matt-cook reopened this Aug 19, 2019
@matt-cook
Copy link
Member

matt-cook commented Aug 19, 2019

Re-opening since folks are still attempting to use file:// paths. Could prompt with a notification and automatically turn on the local server or use FileSystem method: https://stackoverflow.com/questions/27932960/how-do-you-display-a-filesystem-url-in-a-chrome-app-webview

Related:

#287
#197
#140
https://cookcompany.zendesk.com/agent/tickets/632
https://bugs.chromium.org/p/chromium/issues/detail?id=321638

@matt-cook matt-cook removed this from the 5.6.0 milestone Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants