var tag = document.createElement(“script”);
tag.src = “https://www.youtube.com/iframe_api”;
var firstScriptTag = document.getElementsByTagName(“script”)[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
var player;
function onYouTubeIframeAPIReady() {
player = new YT.Player(“td_youtube_player”, {
height: “720”,
width: “960”,
events: {
“onReady”: onPlayerReady
}
});
}
function onPlayerReady(event) {
player.setPlaybackQuality(“hd720”);
}
Jackie Watson finds out what celebrities consider a ‘perfect date!’
Leave a Reply