YouTube Player (YT.Player) with lots of video ID in Playlist -- 2
$10-30 USD
Annulé
Publié il y a presque 9 ans
$10-30 USD
Payé lors de la livraison
I have over 1000 video IDs I would like to load into a playlist but when the playlist is over around 120 the Player errors out. Please help!
Here is part of the code:
----------------------------------------------------------------------
var player;
function onYouTubePlayerAPIReady() {
player = new [login to view URL]('ytplayer', {
height: [login to view URL]([login to view URL] / 1.78),
width: '95%',
videoId: 'videoID1',
playerVars: {
'autoplay': 1,
'controls': 1,
'showinfo':0,
'loop':1,
playlist:"videoID2, videoID3, videoID3, videoID4, .... , videoID1000"
},
events: {
'onReady': onPlayerReady,
'onStateChange': onPlayerStateChange,
'onError': onError
}
});
}
-----------------------------------------------------------------------