I need to load more than one video with youtube's API. This is my first time using it so I'm not sure what I'm doing wrong, but this is what I'm trying:
var player; var player2; function onYouTubePlayerAPIReady() { player = new YT.Player('player', { videoId: 'hdy78ehsjdi' }); player2 = new YT.Player('player', { videoId: '81hdjskilct' }); }