Start a new topic

Jwplayer

Hi,


Is it possible to use Viblast PDN with the JWPlayer? 


I'm trying to run using this code


<script src="//media/jwplayer/jwplayer.js"></script>

<script type="text/javascript">jwplayer.key="vkghZcjZDykxD/ToIJEDUxYcyA3Cprdadtz0qDpYHpP5iGQkIPBmXw==";</script>

<div id='Player'></div>

<script type="text/javascript" src="//cdn.viblast.com/vb/stable/viblast.js"></script>

<script>ViblastKey="7f9ff96e-c3ea-44b2-980e-b567baaa4608"</script>

<script type='text/javascript'>

var cnf = "/dash.php?vkey=8902";


 var playerInstance = jwplayer("Player");

 playerInstance.setup({

    playlist: cnf,

 aspectratio: "16:9",

 height: "100%",

 width: "100%",

 preload: "none",

 stretching: "uniform",

 autostart: false,

    cast:{ },    

 analytics: {

 cookies: false,

 enabled: false

 },

 ga:{},

    viblast: {

    enablePdn: true,

    enableRealtimeLogger: true,

    key: "7f9ff96e-c3ea-44b2-980e-b567baaa4608"

    },

 captions: {

        color: '#ffffff',

 fontOpacity: 100,

        backgroundOpacity: 0,

 edgeStyle: 'dropshadow',

 fontFamily: '"PT Sans Narrow", sans-serif'

  },

 advertising: {

       client: "vast",

       tag: ["//vast_1/0003.xml"]

    }

});

</script>

Login to post a comment