box / viewer.js

A viewer for documents converted with the Box View API
Apache License 2.0
336 stars 99 forks source link

Support for the New Box View APIs #234

Open akshaykumar6 opened 7 years ago

akshaykumar6 commented 7 years ago

I am using the Box view APIs to render the document which will be officially closed by January 2018. And I am unable to find any JS plugins for the New Box View which has the same features as viewer.js. As I want to use the page events and plain HTML5 rendering for documents.

Are you planning to support the new Box APIs? Is there any other JS library which would provide the same features for new APIs?

Also, I came across Box Javascript Preview SDK which is rendering documents in iframe. Will this have the features of viewer.js in future?

tonyjin commented 7 years ago

We're focusing our development on the Javascript Preview SDK, which will power the New Box View. More features will be added as time goes on.

The biggest benefit of New Box View is that you will be able to preview all the file types that Box supports (media, 3d, images, text, documents, etc.), not just documents. The link you added (https://docs.box.com/docs/box-javascript-preview-sdk) is not loading the Javascript SDK in an iframe - check out the CodePen to see the exact code being run.

You'll be able to use the New Box View with either:

akshaykumar6 commented 7 years ago

Thanks a lot @tonyjin for such a quick response!!

I look forward to migrating to the New Box View. I actually want to use the page events, layout modes and transitions in my product. Will you be developing the same functionalities as viewer.js in the JS preview SDK?

tonyjin commented 7 years ago

Yup! Functional parity with viewer.js is on our backlog, but I don't have a timeline to share right now.

MSchip commented 7 years ago

@tonyjin Do you have even a rough timeline estimate? Will things like layouts and navigation be available before the January 2018 deprecation?