Slides

The slides object contains slide information.

Description Type Required
time The starting time of the slide. Format: hh:mm:ss String Y
img The URL of the slide image String Y
title The title of the slide image String N
alt The alt text of the slide image String N
$('.chameleon').chameleon({
    player: "youtube",
    chameleonContext: {
        "html5Setup": {
            "sources": [{
                "file": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
                "type": "video/mp4"
            }]
        },
        "slides": [{
                "time": "00:00:00",
                "img": "https://dummyimage.com/600x400/000/fff&text=1",
            },
            {
                "time": "00:00:02",
                "title": "Ultricies nec, pellentesque eu",
                "img": "https://dummyimage.com/600x400/000/fff&text=2"
            },
            {
                "time": "00:00:05",
                "title": "Augue velit cursus nunc",
                "img": "https://dummyimage.com/600x400/000/fff&text=3"
            },
            {
                "time": "00:00:08",
                "title": "Donec quam felis,",
                "img": "https://dummyimage.com/600x400/000/fff&text=4",
                "alt": "Donec quam felis"
            }
        ]
    }
});

results matching ""

    No results matching ""