Display scheduler by xml link.
npm install airy-epg-viewer
import React from 'react';
import AiryEpgViewer from 'airy-epg-viewer';
<AiryEpgViewer url="https://epg.showfer.com/airy/655bca6d577abc6e57f9e344/Airy" timeZone="America/Los_Angeles"/>
Prop | Description | Default |
---|---|---|
url |
The url of a video | |
timeZone |
Timezone | |
width |
Set the width of the schedule | 100% |
height |
Set the height of the schedule | 100% |
If you aren’t using React, you can still render a scheduler using the standalone library:
<script src="https://cdn.jsdelivr.net/npm/airy-epg-viewer@latest/dist/airy-epg-viewer.standalone.min.js"></script>
<script>
const container = document.getElementById('container');
const url = 'https://epg.showfer.com/airy/655bca6d577abc6e57f9e344/Airy';
renderAiryEpgViewer(container, {
url,
timeZone: 'America/Los_Angeles',
});
</script>