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

private package fallback viewer #26

Open
jqnatividad opened this issue Dec 18, 2021 · 0 comments
Open

private package fallback viewer #26

jqnatividad opened this issue Dec 18, 2021 · 0 comments

Comments

@jqnatividad
Copy link
Owner

As the Microsoft's online viewer only works if the package's resources are publicly accessible, add a fallback viewer:

  • if the user is using a Chromium based browser (Chrome, Edge, Brave, Opera, etc.) and they have either the Office or the Google Editing for Docs, Sheets & Slides viewer extensions installed, render the doc using one of those extensions, with the Office extension being the first choice.
  • if the user is using a Chromium based browser, but don't have either of those extensions, show a tip suggesting the user install either extension.
  • if the user is not using a Chromium based browser (Firefox, Safari, etc.) show a message that the online viewer requires public packages, and also mention the ability to use the fallback viewers when using a Chromium-based browser.
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

1 participant