Cloudinary Video Player

Schedule (Weekly Time Slots) - ESM

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).

Schedule

Example Code (ESM):


import { videoPlayer } from 'cloudinary-video-player';
import 'cloudinary-video-player/cld-video-player.min.css';

videoPlayer('player', {
  cloudName: 'demo',
  publicId: 'sea_turtle',
  schedule: {
    weekly: [
      { day: 'monday', start: '09:00', duration: 8 },
      { day: 'tuesday', start: '09:00', duration: 8 }
    ]
  }
});