This page will help you get started with rollMyFile JavaScript API to open hundreds of different file types on the Web.
API Is Still In Beta
At this time API is not open for use by everybody. If you are interested in early access, please drop us a note at [email protected] and we will be happy to let you in and show around.
Using rollMyFile API in JavaScript
On a page, where you want to let users open files, you simply do the following
<script type="text/javascript" src="https://api.rollapp.com/1/js/rollmyfile.js"></script>
<script type="text/javascript">
var key = "SeCur3AP1K3y";
var rollMyFile = new RollMyFile(key);
</script>
And then all it takes to open a file is
rollMyFile.openFileByUrl("https://www.example.com/documentation/overview.docx");