Example 2.15.00 - Skipping an ad - Linear VPAID ad



The configuration for this example is:


<script>
flowplayer("a.example", "", {
    playlist: [
        {
            url: "",
            duration: 30
        }
    ],

    plugins: {	    
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "ads": {
                 "schedule": [
                       {
                           "position": "pre-roll",
                           "tag": ""
                       }
                 ]
            },

            "debug": {
                 "levels": ""
            }
        }
    }
});
</script>

<ul>
  <li><a href="#" onclick="$f().getPlugin("ova").skipAd();">
    Skip ad
  </a></li>
</ul>