I want to know 2 ways to use it

I am sorry, but as stated in About the Customization category, in general we cannot offer help with customizing the viewer to the user’s need. We may point you to the parts of the API useful for your customization, though, as in my previous post.