/**/ if (typeof EmbedNicolive == typeof undefined) { EmbedNicolive = new Object; EmbedNicolive.Global = { generated:false, quantity:0, playerQty:0, id_base:"nicolive_external_", id:"", playerId:"" }; if (!EmbedNicolive.Global.generated) { EmbedNicolive.Global.generated = true; EmbedNicolive.Global.id = EmbedNicolive.Global.id_base + EmbedNicolive.Global.quantity; EmbedNicolive.Player = function(swf) { var checkCount = 0; do { EmbedNicolive.Global.id = EmbedNicolive.Global.id_base + EmbedNicolive.Global.quantity; EmbedNicolive.Global.quantity++; checkCount++; if (checkCount > 100) break; } while (document.getElementById(EmbedNicolive.Global.id) == typeof undefined); var flashvars = {}; var options = {}; var html = ""; var src = swf; var createFlashVars = function () { var params = ""; var count = 0; for (var key in flashvars) { if (count==0) { params = key + "=" + flashvars[key]; } params += "&" + key + "=" + flashvars[key]; count++; } return params; }; var createOptions = function(param, value) { var params = ""; var count = 0; for (var key in options) { params += ' ' +key + '="' + options[key] + '" '; } return params; }; var generateEmbed = function(){ html = ''; return html; }; var generateObjectTag = function(){ html = ''; html += ''; html += ''; html += ''; html += ''; html += ''; return html; }; var checkDomain = function(){ var b = true; try { var w = window.parent, self = window.self; while (w && w != self) { if (w.location.host != self.location.host) { b = false; break; } if (w === w.parent) break; w = w.parent; } } catch (e) { b = false; } return b; }; this.addFlashVars = function (param, value){ flashvars[param] = value; }; this.addOptions = function(param, value) { options[param] = value; }; this.create = function(id) { if (!checkDomain()) return; if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { if (id === undefined || id == "") { document.write(generateEmbed()); } else if (typeof id == "string") { var el = document.all ? document.all[id] : document.getElementById(id); if (el) el.innerHTML = generateEmbed(); } else if(id){ id.innerHTML = generateEmbed(); } } else{ if (id === undefined || id == "") { document.write(generateObjectTag()); } else if (typeof id == "string") { var el = document.all ? document.all[id] : document.getElementById(id); if (el) el.innerHTML = generateObjectTag(); } else if(id){ id.innerHTML = generateObjectTag(); } } }; }; } } /**/ do{ EmbedNicolive.Global.playerId = "player_" + EmbedNicolive.Global.playerQty; EmbedNicolive.Global.playerQty++; if (EmbedNicolive.Global.playerQty > 1000) break; }while(typeof window[EmbedNicolive.Global.playerId] != typeof undefined) window[EmbedNicolive.Global.playerId] = new EmbedNicolive.Player("http://ext.live.nicovideo.jp/nicoliveplayer.swf?20170627"); window[EmbedNicolive.Global.playerId].addFlashVars("id", "lv280661106"); window[EmbedNicolive.Global.playerId].addFlashVars("idType", "v"); window[EmbedNicolive.Global.playerId].addFlashVars("isMute", "1"); window[EmbedNicolive.Global.playerId].addFlashVars("autoLoad", "1"); window[EmbedNicolive.Global.playerId].addFlashVars("templateType", "small"); window[EmbedNicolive.Global.playerId].addFlashVars("version", "4"); window[EmbedNicolive.Global.playerId].addFlashVars("seat_id", "225540"); window[EmbedNicolive.Global.playerId].addFlashVars("token", "225540:1510965101:013be575639fe38aa95e5b8278e46672abea135e"); window[EmbedNicolive.Global.playerId].addFlashVars("logicRev", "170627162457"); window[EmbedNicolive.Global.playerId].addFlashVars("playerTplRev", "170627162457"); window[EmbedNicolive.Global.playerId].addOptions("width", "480"); window[EmbedNicolive.Global.playerId].addOptions("height", "270"); window[EmbedNicolive.Global.playerId].addOptions("hspace", "0"); window[EmbedNicolive.Global.playerId].create("");