INNER CODE UNIT · JavaScript
onYouTubeIframeAPIReady
LonelyCpp/react-native-youtube-iframe · src/PlayerScripts.js:191
function onYouTubeIframeAPIReady() {
player = new YT.Player('player', {
width: '1000',
height: '1000',
videoId: '${videoId_s}',
playerVars: {
${listParam}
${listTypeParam}
${playlistParam}
end: ${end},
rel: ${rel_s},
playsinline: 1,
loop: ${loop_s},
color: ${color},
start: ${start},
hl: ${playerLang},
controls: ${controls_s},