Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
425 views
in Technique[技术] by (71.8m points)

html - How to resolve the error that appears when previewing Office files?

I'm trying to view Word, Excel, or PowerPoint using Office Web Viewer.
I'm trying to display it using the code below.
The data to be displayed is placed in Blob.

code:

<iframe src = "https://view.officeapps.live.com/op/embed.aspx?src=(encoded URL)"> </ iframe>

However, when I check the console on Chrome, I get the following error.

DevTools failed to load SourceMap: Could not load content for https://c1-powerpoint-15.cdn.office.net/p/s/*********_PptScripts/otelFull.min.js.map: HTTP error: status code 404, net :: ERR_HTTP_RESPONSE_CODE_FAILURE

I don't understand why such an error is occurring.
Even if I click the URL described in the error, "There is no page" is displayed.
Is this a code issue?
I don't know the cause, and I don't know what to do.
Please tell me what I should do to eliminate this error.
If there is an official page that can be used as a reference, please let us know.

question from:https://stackoverflow.com/questions/65879166/how-to-resolve-the-error-that-appears-when-previewing-office-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...