In-Stream: come implementare In-Stream. Parte 2: esempi di implementazione
<script src="https://cdn.fluidplayer.com/v3/current/fluidplayer.min.js"></script>
<video id="my-video" controls style="width: 640px; height: 360px;">
<source src="main_video.mp4" type="video/mp4" />
</video>
<script type="text/javascript">
var testVideo = fluidPlayer(
"my-video",
{
vastOptions: {
adList: [
{
roll: "preRoll",
vastTag: "https://s.magsrv.com/v1/vast.php?idzone=XXXXXXX"
},
{
roll: "midRoll",
vastTag: "https://s.magsrv.com/v1/vast.php?idzone=XXXXXXX",
timer: 8
},
{
roll: "midRoll",
vastTag: "https://s.magsrv.com/v1/vast.php?idzone=XXXXXXX",
timer: 10
},
{
roll: "postRoll",
vastTag: "https://s.magsrv.com/v1/vast.php?idzone=XXXXXXX"
}
]
}
}
);Risoluzione dei problemi
PrecedenteIn-Stream: come implementare In-Stream Parte 1.SuccessivoIn-Stream: come implementare In-Stream. Parte 3: test della zona pubblicitaria
Ultimo aggiornamento
È stato utile?

