latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

JW Player Upgrade or Remove Share when paused

Home Forums Community Forum JW Player Upgrade or Remove Share when paused

This topic contains 2 replies, has 2 voices. Last updated by  James Martell 4 years ago.

Topic Author Topic
Posted: Saturday Jan 5th, 2013 at 3:41 am #36227

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Saturday Jan 5th, 2013 at 4:09 pm #36326
Bruce
Username: Bruce
Staff Member

Hi James,

This is something that JW Player is controlling. I’m not sure how you would change this, try posting in the JW Player forums. You’ll probably get a better answer there.

Posted: Monday Jan 7th, 2013 at 3:14 am #36421

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

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.