Documentation

Document List Setup

Overview

The document list is specified as an array of objects. Each object in the array represents one document track. For now, there is only one property on each object. For example, the following represents one document in a document list


    {"path": "sample-files/compressed.tracemonkey-pldi-09.pdf"}

Here's a simple document list array with three documents.


    var documentList =  [
        {"path": "sample-files/compressed.tracemonkey-pldi-09.pdf"},
        {"path": "sample-files/sintel_trailer-720p.mp4"},
        {"path": "sample-files/Finding_the_Balance.mp3"}
    }