\n';
mijsvcontent755451+='\n';
document.getElementById('player_14999').innerHTML=mijsvcontent755451;
/*
* @does: log in test enviroment
* @use: mi24logger.log(tolog)
*/
if (typeof window.docReady == 'undefined') {
(function(funcName, baseObj) {
// The public function name defaults to window.docReady
// but you can pass in your own object and own function name and those will be used
// if you want to put them in a different namespace
funcName = funcName || "docReady";
baseObj = baseObj || window;
var readyList = [];
var readyFired = false;
var readyEventHandlersInstalled = false;
// call this when the document is ready
// this function protects itself against being called more than once
function ready() {
if (!readyFired) {
// this must be set to true before we start calling callbacks
readyFired = true;
for (var i = 0; i < readyList.length; i++) {
// if a callback here happens to add new ready handlers,
// the docReady() function will see that it already fired
// and will schedule the callback to run right after
// this event loop finishes so all handlers will still execute
// in order and no new ones will be added to the readyList
// while we are processing the list
readyList[i].fn.call(window, readyList[i].ctx);
}
// allow any closures held by these functions to free
readyList = [];
}
}
function readyStateChange() {
if ( document.readyState === "complete" ) {
ready();
}
}
// This is the one public interface
// docReady(fn, context);
// the context argument is optional - if present, it will be passed
// as an argument to the callback
baseObj[funcName] = function(callback, context) {
// if ready has already fired, then just schedule the callback
// to fire asynchronously, but right away
if (readyFired) {
setTimeout(function() {callback(context);}, 1);
return;
} else {
// add the function and context to the list
readyList.push({fn: callback, ctx: context});
}
// if document already ready to go, schedule the ready function to run
if (document.readyState === "complete") {
setTimeout(ready, 1);
} else if (!readyEventHandlersInstalled) {
// otherwise if we don't have event handlers installed, install them
if (document.addEventListener) {
// first choice is DOMContentLoaded event
document.addEventListener("DOMContentLoaded", ready, false);
// backup is window load event
window.addEventListener("load", ready, false);
} else {
// must be IE
document.attachEvent("onreadystatechange", readyStateChange);
window.attachEvent("onload", ready);
}
readyEventHandlersInstalled = true;
}
}
})("docReady", window);
}
//mi24funcClazz = function() {
function mi24func() {
/*
* load Script mi24player.load("myscript.*", "css/js")
*/
this.load = function (fname, ftype) {
if (ftype == "js") {
var fref = document.createElement("script");
fref.setAttribute("type", "text/javascript");
fref.setAttribute("src", fname)
}
else if (type == "css") {
var fref = document.createElement("link");
fref.setAttribute("rel", "stylesheet");
fref.setAttribute("type", "text/css");
fref.setAttribute("href", fname)
}
if (typeof fref != "undefined") {
document.getElementsByTagName("head")[0].appendChild(fref);
}
};
// return fref;
this.decodeBase64 = function (s) {
var e = {}, i, k, v = [], r = "", w = String.fromCharCode;
var n = [
[65, 91],
[97, 123],
[48, 58],
[43, 44],
[47, 48]
];
for (z in n) {
for (i = n[z][0]; i < n[z][1]; i++) {
v.push(w(i));
}
}
for (i = 0; i < 64; i++) {
e[v[i]] = i;
}
for (i = 0; i < s.length; i += 72) {
var b = 0, c, x, l = 0, o = s.substring(i, i + 72);
for (x = 0; x < o.length; x++) {
c = e[o.charAt(x)];
b = (b << 6) + c;
l += 6;
while (l >= 8) {
r += w((b >>> (l -= 8)) % 256);
}
}
}
mi24logger.log("mi24func.decodeBase64:" + r);
return r;
};
/*
* @does execute jsscript, loop until given objects are loaded
* @input String objs (space separated objectnames) , String jsscript (executable js)
*/
this.executeIfPresent = function (objs, jsscript) {
isloaded = true;
idletime = 100;
maxIterations = 50;
if (typeof objs == "string") {
// remove multiple blanks
objStr = objs.replace(/\s{2,}/g, " ");
// remove trailing, leading blank
objStr = objStr.replace(/^\s+|\s+$/g, "");
objs = objStr.split(" ");
objs.str = objStr;
objs.it = 0;
}
if (objs.it > maxIterations) {
mi24logger.log("[" + objStr + "]" + " is absent, max iterations reached");
return false;
}
for (var i = 0; i < objs.length; i++) {
try {
eval(objs[i]);
//eval(obj);
if (typeof eval(objs[i]) != "undefined") {
isloaded = isloaded && true;
}
else {
isloaded = isloaded && false;
}
} catch (e) {
isloaded = false;
}
}
if (!isloaded) {
window.setTimeout(function () {
objs.it++;
//mi24logger.log(objs.it);
mi24func.executeIfPresent(objs, jsscript);
}, idletime);
} else {
if (objs.it > 0) {
mi24logger.log("[" + objs.str + "]" + " is present " + (objs.it > 0 ? "(loops:" + objs.it : "") + " time:" + objs.it * idletime + " msec)");
} else {
mi24logger.log("[" + objs.str + "]" + " is present ");
}
try {
eval(jsscript);
} catch (e) {
mi24logger.log(e);
return false;
}
return true;
}
};
this.showPlayerDo = function (id) {
var hasFlash = false;
var hasHtml5 = false;
try {
hasFlash = Boolean(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
} catch(exception) {
if (
'undefined' != typeof navigator.mimeTypes['application/x-shockwave-flash'] &&
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin != null
)
{
hasFlash = true;
}
}
if (hasFlash == false) {
if (!document.createElement('video').canPlayType) {
if (jQuery('.mi24wmv_' + id).length == 0) {
alert("Kein Flash Plugin installiert.");
hasFlash = true;
}
} else {
hasHtml5 = true
}
}
if (hasFlash) {
jQuery('.mi24html5_' + id).remove();
jQuery('.mi24wmv_' + id).remove();
jQuery('.mi24flash_' + id).css('visibility', 'visible');
window.setTimeout(function() {
mi24func.executeIfPresent("mi24playerClazz",eval("mi24Initialize_flash_"+id+"()"));
}, 800);
} else if (hasHtml5) {
jQuery('.mi24flash_' + id).remove();
jQuery('.mi24wmv_' + id).remove();
jQuery('.mi24html5_' + id).show();
window.setTimeout(function() {
mi24func.executeIfPresent("mi24playerClazz",eval("mi24Initialize_html5_"+id+"()"));
}, 800);
} else {
jQuery('.mi24flash_' + id).remove();
jQuery('.mi24html5_' + id).remove();
jQuery('.mi24wmv_' + id).show();
}
}
}
//var mi24func = new mi24funcClazz();
var mi24func = new mi24func();
//mi24loggerClazz = function() {
function mi24logger() {
var domainPattern = ["(dev\.edge-cdn\.net)", "(test\.local)", "(develop-edge)", "(vm6\.ja\.mi24)"];
//var domainPattern = ["(dev\.edge-cdn\.net)","(jt\.mi24\.tv)", "(localhost)", "(develop-edge)", "(vm6\.jt\.mi24)"];
var domainPatternStr = "";
var regex;
var logEnabled;
var errorEnabled;
this.addDomainPattern = function (pattern) {
domainPattern.push("(" + pattern + ")");
mi24logger.log("mi24logger domain pattern: " + mi24logger.getDomainPattern());
this.compileDomainRegEx();
};
this.compileDomainRegEx = function () {
domainPatternStr = "";
for (var i = 0; i < domainPattern.length; i++) {
domainPatternStr += (i == 0 ? "" : "|") + domainPattern[i];
}
regex = new RegExp(domainPatternStr, "i");
logEnabled = regex.test(document.domain);
errorEnabled = logEnabled;
return regex;
};
this.getDomainPattern = function () {
return domainPatternStr;
};
this.logAll = function () {
excludePatternStr = "";
logEnabled = true;
};
this.logEnable = function () {
logEnabled = true;
};
this.logDisable = function () {
logEnabled = false;
};
this.errorEnable = function () {
errorEnabled = true;
};
this.errorDisable = function () {
errorEnabled = false;
};
/*
*
* @param {type} tolog
* @returns {undefined}
* @does log ouput (mi24logger.log())
*/
this.log = function (tolog) {
if (logEnabled) {
try {
console.log(tolog);
} catch (e) {
alert(tolog);
}
}
};
/*
*
* @param {type} tolog
* @returns {undefined}
* @does log error (mi24logger.error())
*/
this.error = function (tolog) {
if (errorEnabled) {
try {
console.log("ERROR: " + tolog);
} catch (e) {
alert("ERROR: " + tolog);
}
}
}
}
//var mi24logger = new mi24loggerClazz();
var mi24logger = new mi24logger();
mi24logger.compileDomainRegEx();
mi24logger.log("mi24logger domain pattern: " + mi24logger.getDomainPattern());
if (typeof SWFObject == "undefined") {
mi24func.load("https://dl.edge-cdn.net/flashplayer/swfobject.js","js");
//load("https://dl.edge-cdn.net/flashplayer/swfobject.js","js");
} else {
var testSWF = new SWFObject();
if(typeof testSWF.attributes.useExpressInstall == "undefined") {
mi24func.load("https://dl.edge-cdn.net/flashplayer/swfobject.js","js");
}
}
if (typeof mi24flashtools == "undefined") {
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/src/mi24flashtools.js","js");
//load("https://dl.edge-cdn.net/javascript/mi24/src/mi24flashtools.js","js");
}
if (typeof mi24Clazz == 'undefined') {
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/src/mi24.js","js");
}
if (typeof jQuery == "undefined") {
mi24func.load("https://dl.edge-cdn.net/external/jqueryui/js/jquery-1.8.2.min.js","js");
mi24func.executeIfPresent("jQuery","$.noConflict();jQuery('img').on('resize', function() {console.log('change');});");
}
if (typeof mi24playerClazz == "undefined") {
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/src/mi24player.js","js");
}
if (typeof mi24responsiveClazz == "undefined") {
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/src/mi24responsive.js","js");
}
var activeAnalyticsPlugins = ["Akamai_0_1"];
var AKAMAI_MEDIA_ANALYTICS_CONFIG_FILE_PATH = "//ma1072-r.analytics.edgekey.net/config/beacon-8682.xml";
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/analytics/Mi24Analytics.js","js");
mi24func.load("https://dl.edge-cdn.net/javascript/mi24/analytics/Mi24Analytics.Akamai_0_1.js","js");
var mi24player_755451;
if ( typeof mi24PlayerObjs == "undefined" )
{ var mi24PlayerObjs = new Array(); }
function mi24Initialize_755451() { mi24player_755451 = new mi24playerClazz("755451","flashv4");
mi24player_755451.init("mainjvideo_755451"); window.mi24PlayerObjs.push( mi24player_755451 );
mi24func.executeIfPresent('mi24player_755451', 'mi24player_755451.videoDetail = {};mi24player_755451.videoDetail = {"flvUrl":"http:\/\/hd.cdn.edge-cdn.net\/videodb\/7255\/videodb_7255_44566_7296180_16x9_mq.mp4","length":"104","title":"Produktfilm_VideoManager Englisch","autoplay":0};attachMi24Analytics("mi24player_755451");'); mi24player_755451.isResponsive = true;
/* for single api implementations, clone the first mi24player object */
if(typeof mi24player != "object") {
mi24player = mi24player_755451;
}
}
window.setTimeout(function() {
mi24func.executeIfPresent("mi24playerClazz","mi24Initialize_755451()");
}, 800);
var isPlayerReady_755451 = true;
var PlayerLoaded_755451 = false;
var stopvideoonload_755451 = false;
var stopvideoonloadstatus_755451 = false;
var playingok_755451 = false;
var autoplaystatus_755451 = -1;
function fp_stop_755451() {
stopvideoonload_755451 = true;
}
function flashPlayerStatusEvent_755451(status_) {
if (typeof mi24player_755451 != "undefined") {
mi24player_755451.flashPlayerStatusEvent(status_);
}
} //flashPlayerStatusEvent
var x_0c72600913b7dc2be04615dba4a20e86timerid= new Array();
if (typeof mi24players == "undefined") { var mi24players=1;}
function r_755451_be71ada9e39cdbd53e13912f111dbbccreplacetext(text){
var tmp_text;
if (document.getElementById("videoplayback_titlebar_755451")){
tmp_text=text;
if (tmp_text.length > 59) {
tmp_text=tmp_text.substr(0,56)+"...";
}
document.getElementById("videoplayback_titlebar_755451").innerHTML=tmp_text;
}
}
function x_0c72600913b7dc2be04615dba4a20e86loadloadimg(){
if (document.getElementById("bgexfashcontent755451X1024X576X1455900068X195")) { document.getElementById("bgexfashcontent755451X1024X576X1455900068X195").innerHTML='
';}}
function x_0c72600913b7dc2be04615dba4a20e86loadblank(){
if (document.getElementById("bgblankexfashcontent755451X1024X576X1455900068X195")) { document.getElementById("bgblankexfashcontent755451X1024X576X1455900068X195").innerHTML="";}
}
function x_0c72600913b7dc2be04615dba4a20e86noflash(){
if ((typeof thisMovie("mainjvideo_755451") == "undefined") || (thisMovie("mainjvideo_755451") == null)) {
if (!document.getElementById("exfashcontent755451X1024X576X1455900068X195")) { return;}
if (!document.getElementById("bgexfashcontent755451X1024X576X1455900068X195")) { return;}
if (document.getElementById("exfashcontent755451X1024X576X1455900068X195").innerHTML.substr(0,1) == ".") {
if (document.getElementById("exfashcontent755451X1024X576X1455900068X195")) { document.getElementById("exfashcontent755451X1024X576X1455900068X195").innerHTML="