function setIFrameSrc(elem, callback = null) {
var newFrame = document.createElement('iframe');
newFrame.id = elem.getAttribute('id');
newFrame.width = elem.getAttribute('width');
newFrame.style = elem.getAttribute('style');
newFrame.src = elem.getAttribute('data-src');
elem.parentNode.replaceChild(newFrame, elem);
newFrame.onload = function() { if (callback) callback(newFrame); };
}
window.onload = function() {
window.setTimeout(function() {
var elemAudioFrame = document.getElementById('album-frame');
if (elemAudioFrame) {
setIFrameSrc(elemAudioFrame, function(elem) {
elem.classList.add('fade-in');
});
}
}, 100);
}