Video plays only during configured time slots. Outside schedule, a poster image is shown.
Call loadPlayer() on the stub to load the player on demand (e.g. on click).
cloudinary.videoPlayer('player', {
cloudName: 'demo',
publicId: 'sea_turtle',
schedule: {
weekly: [
{ day: 'monday', start: '09:00', duration: 8 },
{ day: 'tuesday', start: '09:00', duration: 8 }
]
}
});