Skip to content
nene edited this page Aug 8, 2012 · 1 revision

Like with guides you specify a link to JSON file using the --videos option. JSON should have the following structure:

    [
        {
            "title": "Ext JS",
            "items": [
                {
                    "name": "ext-js-4",
                    "title": "Ext JS 4",
                    "description": "Highlights of the release.",
                    "id": "22863837",
                    "thumb": "http://b.vimeocdn.com/ts/148/397/148397103_200.jpg"
                },
                {
                    "name": "intro",
                    "title": "Introducing Ext JS 4",
                    "description": "Presented by Ed Spencer.",
                    "id": "17666102",
                    "thumb": "http://b.vimeocdn.com/ts/110/118/110118333_200.jpg"
                },
                ...
            ]
        },
        ...
    ]

Note that the whole videos thing is currently highly tied with Vimeo. The id must be a valid Vimeo video clip ID. thumb is a reference to thumbnail image of video.