Funktionen der kalder er den her:
// DR standard player
function DRPlayer(subsite,video,playlist,videotitel,id) {
var subsite = (typeof subsite != 'undefined') ? subsite : 'Ikke angivet';
var postGuid = (typeof(postingGuid) != 'undefined') ? "&postingGuid=" + postingGuid : '';
var nrmode = getValue(location.search, "NRMODE");
nrmode = (nrmode != 'undefined') ? "&NRMODE=" + nrmode : '';
if (playlist.indexOf('?') == -1) {
window.open('
http://' + document.location.hostname + '/' + playlist,'' ,'scrollbars=no,toolbars=no,location=no,status=no,directories=no,resizable=0,height=10,width=108');
} else {
if (playlist.indexOf('aid=') > -1) {
// fix for legacy audiofiles
window.open('
http://' + document.location.hostname + '/' + playlist,'' ,'scrollbars=no,toolbars=no,location=no,status=no,directories=no,resizable=0,height=10,width=108');
} else {
var qid = playlist.substring(playlist.indexOf('?qid=') + 1);
openAV(qid);
}
}
}