How To Age Gracefully

Everyone reacts differently to growing older. Some people are excited by the idea of gaining another year of experience and wisdom, while others attempt to cling to their youth. Here’s some of the best advice from people of all ages on how to age gracefully.

var tag = document.createElement(‘script’);
tag.src = ‘https://www.youtube.com/iframe_api’;
var firstScriptTag = document.getElementsByTagName(‘script’)[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

function onYouTubePlayerAPIReady() {
var players = document.querySelectorAll(‘.yvideo div’)
for (var i = 0; i < players.length; i++) {
new YT.Player(players[i], {
width: '100%',
playerVars: {'iv_load_policy':3,'autoplay': players[i].dataset.autoplay,'rel':0,'modestbranding':0,'showinfo':0,'enablejsapi':1,'start':players[i].dataset.start,'cc_load_policy':0},
videoId: players[i].dataset.id
});
}
}

Read more: http://www.wimp.com/how-to-age-gracefully/