What is the Viewer API and how does it differ from embedding?

What is the Viewer API and how does it differ from embedding?

The Viewer API allows you to control the embed on your own site to add specific behaviour to it. You can learn more about it here: