tjallingt/react-youtube

Limit of video iframe can handle

Opened this issue · 0 comments

I'm currently trying to load a whole playlist with react-youtube like this :

<YouTube
   onReady={...}
   onStateChange={...}
   opts={{
       height: '100%',
       width: '100,
       playerVars: {
             controls: 0, 
             list: playlistId, 
             listType: 'playlist'
        }
     }}
/>

Beside i have a list of videos (with pagination) contained in the playlist. When i click on a video it starts playing. To do so i used :
.playVideoAt(videoIndex)

It's work like a charm but the iframe load only 200 videos :
Capture d’écran 2023-01-12 à 09 31 04

Is there a way to increase this limit or get around it?