Alright,
They might be suggested to write code this way
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'flashplayer': 'player.swf',
'id': 'playerID',
'width': '480',
'height': '270',
'file': 'video.flv',
'image': 'image.jpg',
'plugins': {
'viral-2': {
'onpause': 'false',
'callout': 'none'
}
}
});
</script>
I tried to write this but not works,
Might be my syntax is wrong to write
plugins:”viral-2″: {onpause: “false”}
<script type="text/javascript">
jwplayer("jw-container").setup({modes: /* JW Player®. */
[
/* First try real-time streaming with Flash® player. */
{type: "flash", provider: "rtmp", src: "<?php echo $s2_jw_config["jwplayer"]; ?>player.swf",
config: {streamer: "<?php echo $mp4["streamer"]; ?>", file: "<?php echo $mp4["file"]; ?>", image: "/wp-content/uploads/2012/11/website-in-a-weekend-session-01.jpg"}, plugins:"viral-2": {onpause: "false"}},
/* Else, try an HTML5 video tag. */
{type: "html5", provider: "video",
config: {file: "<?php echo $mp4["url"]; ?>"}},
/* Else, this is a safe fallback. */
{type: "download", /* Download the file. */
config: {file: "<?php echo $mp4["url"]; ?>"}}
],
/* Set video dimensions. */ width: 758, height: 573
});
</script>
Please Help…!!
Thanks A Lot