- 当サンプルは、弊社一部環境で動作確認を致しましたが、全環境にて動作するものではございません。
動作保障は致しかねますので、予めご了承ください。
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>EQ-Marketoサンプル</title>
<script type="text/javascript" src="js/eqlive-marketo.js"></script>
<style type="text/css">
#header {
border-bottom: solid 1px #CCC;
margin-bottom: 10px;
}
#playerList {
padding: 0;
list-style: none;
}
#playerList li {
display: inline-block;
}
#debugArea {
border-top: solid 1px #CCC;
}
#debugArea > p {
font-weight: bold;
}
</style>
</head>
<body>
<!--// Marketoタグ -->
<script type="text/javascript">
(function() {
var didInit = false;
function initMunchkin() {
if(didInit === false) {
didInit = true;
Munchkin.init('XXX-XXX-XXX', { domainLevel : 2 });
}
}
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//munchkin.marketo.net/munchkin.js';
s.onreadystatechange = function() {
if (this.readyState == 'complete' || this.readyState == 'loaded') {
initMunchkin();
}
};
s.onload = initMunchkin;
document.getElementsByTagName('head')[0].appendChild(s);
})();
</script>
<!-- Marketoタグ //-->
<div id="header">
<h1>EQLive-Marketoサンプル</h1>
</div>
<ul id="playerList">
<li>
<!-- 1つ目の動画 -->
<script type="text/javascript" charset="UTF-8" src="https://sslcache.stream.ne.jp/wwwXX/eqXXXXXXXX/jmc_pub/jmc_swf/liveplayer/t3/obj.js"></script>
<script type="text/javascript">
EQLiveMarketo.addPlayer({
b:"eqXXXXXXXX.eq.webcdn.stream.ne.jp/wwwXX/eqXXXXXXXX/jmc_pub/jmc_swf/liveplayer/",
c:"XXXXXXXX",
lpid:"XXXX",
s:{
ft:"%E3%83%95%E3%83%83%E3%82%BF%E6%96%87%E5%AD%97%E5%88%97",
hp:380,
il:"off",
is:"off",
pr:"0.5,0.7,1.2,1.5,2.0",
sn:"f,t,g,l",
tg:"off",
wp:640
}
});
</script>
<noscript>
<div>このコンテンツを見るためにはJavaScriptを有効にしてください。Please enable JavaScript to watch this content.</div>
</noscript>
</li>
</ul>
<div id="debugArea">
<p>デバッグログ <input type="button" value="クリア" id="clearButton"></p>
<div id="marketoDebug"></div>
<script type="text/javascript">
var debugLog = document.getElementById("marketoDebug");
var clearButton = document.getElementById("clearButton");
clearButton.onclick = function() {
debugLog.innerHTML = "";
}
</script>
</div>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>EQ-Marketoサンプル</title>
<script type="text/javascript" src="js/eqlive-marketo.js"></script>
<style type="text/css">
#header {
border-bottom: solid 1px #CCC;
margin-bottom: 10px;
}
#playerList {
padding: 0;
list-style: none;
}
#playerList li {
display: inline-block;
}
#debugArea {
border-top: solid 1px #CCC;
}
#debugArea > p {
font-weight: bold;
}
</style>
</head>
<body>
<!--// Marketoタグ -->
<script type="text/javascript">
(function() {
var didInit = false;
function initMunchkin() {
if(didInit === false) {
didInit = true;
Munchkin.init('XXX-XXX-XXX', { domainLevel : 2 });
}
}
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//munchkin.marketo.net/munchkin.js';
s.onreadystatechange = function() {
if (this.readyState == 'complete' || this.readyState == 'loaded') {
initMunchkin();
}
};
s.onload = initMunchkin;
document.getElementsByTagName('head')[0].appendChild(s);
})();
</script>
<!-- Marketoタグ //-->
<div id="header">
<h1>EQLive-Marketoサンプル</h1>
</div>
<ul id="playerList">
<li>
<!-- 1つ目の動画 -->
<script type="text/javascript" charset="UTF-8" src="https://sslcache.stream.ne.jp/wwwXX/eqXXXXXXXX/jmc_pub/jmc_swf/liveplayer/t3/obj.js"></script>
<script type="text/javascript">
EQLiveMarketo.addPlayer({
b:"eqXXXXXXXX.eq.webcdn.stream.ne.jp/wwwXX/eqXXXXXXXX/jmc_pub/jmc_swf/liveplayer/",
c:"XXXXXXXX",
lpid:"XXXX",
s:{
ft:"%E3%83%95%E3%83%83%E3%82%BF%E6%96%87%E5%AD%97%E5%88%97",
hp:380,
il:"off",
is:"off",
pr:"0.5,0.7,1.2,1.5,2.0",
sn:"f,t,g,l",
tg:"off",
wp:640
}
});
</script>
<noscript>
<div>このコンテンツを見るためにはJavaScriptを有効にしてください。Please enable JavaScript to watch this content.</div>
</noscript>
</li>
</ul>
<div id="debugArea">
<p>デバッグログ <input type="button" value="クリア" id="clearButton"></p>
<div id="marketoDebug"></div>
<script type="text/javascript">
var debugLog = document.getElementById("marketoDebug");
var clearButton = document.getElementById("clearButton");
clearButton.onclick = function() {
debugLog.innerHTML = "";
}
</script>
</div>
</body>
</html>