In-Stream : comment implémenter In-Stream. Partie 2 : exemples d'implémentation
<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"
}
]
}
}
);Dépannage
PrécédentIn-Stream : comment implémenter In-Stream. Partie 1.SuivantIn-Stream : comment implémenter In-Stream. Partie 3 : test de la zone publicitaire
Mis à jour
Ce contenu vous a-t-il été utile ?

