Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Time value in minutes? 5 seconds equal 5: and 2 minute 30 seconds ???? #40

Open
dlws21 opened this issue Oct 13, 2017 · 1 comment
Open

Comments

@dlws21
Copy link

dlws21 commented Oct 13, 2017

My video lenght is 5 minutes 44 seconds
I would set thumbnails

video.thumbnails({
// 0 second
0: {
src: 'http://example.com/thumbnail1.png',
width: '120px'
},
// 90 seconds
90: {
src: 'http://example.com/thumbnail41.png'
}
// 1:20 seconds (120 works)
120 : {
src: 'http://example.com/thumbnail52.png'
}
// 2:30 (230 doesnt work)
230 : {
src: 'http://example.com/thumbnail124.png'
}

Please help
});

@dlws21 dlws21 changed the title Time value in minutes? 5 seconds equal 5: and 1 minute 10 seconds ???? Time value in minutes? 5 seconds equal 5: and 2 minute 30 seconds ???? Oct 13, 2017
@malickyeu
Copy link

malickyeu commented Oct 20, 2017

I have similar problem:

player.thumbnails({
    0: { // shown from 0
        src: 'example-thumbnail.png'
    },
    60: { // shown from 1:40 (+40 seconds) - on Fullscreen - reduced to half size at 2:20 (+ 80sec)
        src: 'example-thumbnail_1.png'
    },
    180: { // shown from 3:40 (+40 seconds) - on Fullscreen - reduced to half size at 4:20 (+ 80sec)
        src: 'example-thumbnail_2.png'
    }
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants