On 2012-02-16, at 4:03 PM, Cheetham, Anastasia wrote:

> For example:


Based on the discussion ongoing in the channel, I revise my example to:

    var vp = fluid.videoPlayer(".videoPlayer", {
        video: 
            sources: [{
                src: "ReorganizeFuture.mp4",
                type: "video/mp4"
            },
            {
                src: "ReorganizeFuture.webm",
                type: "video/webm"
        
            }],
            captions: [{
                src: "ReorganizeFuture.en.vtt",
                type: "text/vtt",
                srclang: "en",
                label: "English Subtitles",
                kind: "subtitles"
            },
            {
                src: "ReorganizeFuture.fr.vtt",
                type: "text/vtt",
                srclang: "fr",
                label: "French Subtitles",
                kind: "subtitles"
            }]
        },
        model: {
            currentCaption: 0  // 0-based index into captions array
            fullscreen: true,
            volume: 60
        },
        controls: "custom",
        etc...
    });

-- 
Anastasia Cheetham     Inclusive Design Research Centre
[email protected]           Inclusive Design Institute
                                        OCAD University

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work

Reply via email to