Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello Team,
I am using the below code for Iframe loading into my custom website. It was working well previously. but Now If I am checking the viewer it is randomly giving 404 error sometimes and sometimes works fine. Can you please guide me through a solution for this?
The purpose for Iframing is to show Excel viewer into the website as a previewer.
Below Code Media_URL is URL for Excel sheet. Our Excel sheet having storage as AWS S3 URLS.
Access is not an issue as it is working sometimes if opening same previewer multiple times.
<iframe
title="Excel"
style={{ width: `${weightState}%`, height: 'calc(100vh - 200px)' }}
src={`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(
Media_URL
)}&embedded=true`}