ama orada iframe kullanmış ve js ile iframe içeriğini değiştiriyor.(iframe src=player.php?id=xx)
benim yapmak istediğim player.php dosyasından aldığı embed kodunu playerin olduğu div'e yazsın. iframe kullanılmasın.
galiba geçişlerde sadece bu fonksiyon kullanılıyor.
function part(part,id) {
document.getElementById("playerx").src='/player.php?id='+id;
document.getElementById("p1").className='kisim-top';
document.getElementById("p2").className='kisim-top';
document.getElementById("p3").className='kisim-top';
document.getElementById("p4").className='kisim-top';
document.getElementById("p5").className='kisim-top';
document.getElementById('p'+part).className='kisim-selected';
}
);