Preroll – Midroll (60s) – Postroll – Seteo de Calidad incial
http://edgelab.edge-apps.net/magmaVOD/
—-
<!DOCTYPE HTML>
<html>
<head>
<title>Test VOD</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="https://statics.fluvio.tv/integration/js/pdk.js"></script>
</head>
<body>
<div id="vod"></div>
<p>Preroll - Midroll (60s) - Postroll - Seteo de Calidad incial</p>
<script type="text/javascript">
$(document).ready(function(){
player2 = LayerPlayer("vod");
player2.setup({
asset: '518a38cc9a0173d0b2dc088166981cf8-1417113138-30c08c3bbfac55eba7678594e5da022e',
assetType: 'vod',
width: "500px",
height: "400px",
dynamicIndex: '3',
advertising: {
client: 'vast',
schedule: {
preroll: {
offset: "pre",
tag: 'http://ads.e-planning.net/eb/4/143b7/Home/Preroll?o=v&ma=1&vv=1'
},
ad2: {
offset: 60,
tag: 'http://ads.e-planning.net/eb/4/143b7/Home/Preroll?o=v&ma=1&vv=1',
type: 'mid'
},
postroll: {
offset: 'post',
tag: 'http://ads.e-planning.net/eb/4/143b7/Home/Preroll?o=v&ma=1&vv=1',
type: 'post'
}
}
}
});
// sin esto no hace el seteo de la calidad, bug con el autoplay
player2.onReady(function(event){
setTimeout(function(){
player2.play();
},500);
});
});
</script>
</body>
</html>
