Вот скрипт:
Code
<script language="JavaScript">
function upAnime(id) {
if(document.getElementById('an'+id).innerHTML == '') {
if(document.getElementById('an_ul'+id).innerHTML.indexOf("mail.ru") > -1) {
document.getElementById('an'+id).innerHTML = '<embed src="'+getTrueLinck(document.getElementById('an_ul'+id).innerHTML)+'" flashvars="orig=2" width="650" height="400" allowfullscreen="true"/>';
document.getElementById('an'+id).style.display = 'block';
}
else if(document.getElementById('an_ul'+id).innerHTML.indexOf("rutube.ru") > -1 && window.navigator.userAgent.toLowerCase().indexOf("ffirefox") == -1) {
document.getElementById('an'+id).innerHTML = '<embed src="http://rutube.ru/player.swf" flashVars="buffer_first=1.0&file='+getTrueLinck(document.getElementById('an_ul'+id).innerHTML)+'" type="application/x-shockwave-flash" wmode="window" width="650" height="400" allowScriptAccess="sameDomain" name="playerID" allowFullScreen="true"/>';
}
}
</script>
Как вызвать его? сдесь надо писать ссылку к серию в рутуб в <option> </option> после чего появится сам плеер с серию.