HTML Embed Code for Box File Viewer?

SOLVED
Go to solution
Highlighted
New Contributor

HTML Embed Code for Box File Viewer?

Our enterprise uses Box and SharePoint. I would like to store my files (Powerpoint, PDF, video, etc.) on our Box domain, and then embed them in <iframes> on SharePoint pages. Microsoft OneDrive, Youtube, and other platforms support such embed codes. Is this possible with Box?

3 REPLIES 3
Box Employee

Re: HTML Embed Code for Box File Viewer?

Yes, there are two ways to do this - Box Embed and Box View. Both can be embedded in an iFrame.

 

Box Embed allows you to embed the Box Webapp experience in your application.

https://developer.box.com/docs/box-embed

 

Box View allows you to embed previews of specific files in your application. https://developer.box.com/docs/box-view

 

Thanks for reaching out!

New Contributor

Re: HTML Embed Code for Box File Viewer?

Thanks, Vmaker!

I followed your link to the Box View pages, but I'm confused about my next steps.

I just want a simple iframe-based document viewer for some files stored on our enterprise Box account (U.S. Forest Service).

Do I really need to bother with all these authentication keys and annotator tokens?

Any further guidance would be appreciated. Thanks again!,

Brian

 

Box Employee

Re: HTML Embed Code for Box File Viewer?

@brianbowers 

Yes, these are important because they're what indicates you have access to the content that will be displayed. It cannot be displayed without authentication taking place. 

 

Do you have any specific questions we can help answer?