I've read an article that shows how to preview an Office Document (doc, docx, xls, xlsx, ppt, pptx) using the following pre-stablished Rest API's provided by both companies.
MS Document Viewer:
https://view.officeapps.live.com/op/embed.aspx?src=
GOOGLE Document Viewer:
https://docs.google.com/gview?url=[DOCUMENT_URL]&embedded=true
However, those two options seem to work pretty well with simple URLs, so when I tried to use a sample document which I provide below and which is stored on Firebase Storage, it cannot be previewed nor the URL can be parsed by either Document Viewers in mention.
I would like to ask if anyone knows or has an idea, how to encode or pre-parse the following URL so that my document from Firebase can be properly displayed:
SAMPLE FIREBASE DOCX FILE:
Thanks so much and #STAYSAFE