In the code I see the comment that says that the viral version of JW player is expected by default (the download instructions). With that in mind I would expect some extra features:

  • Disabling / Enabling the different parts of viral, share embed and info
  • Some might find the default behaviour viral.onpause and viral.oncomplete annoying, so two settings should be available for them too.

Comments

shunshifu’s picture

subscribing

NewZeal’s picture

I dealt with this problem by doing the following:

The script, when it cannot find player-viral.swf will load player.swf. You need to clear the cache to change the swftools settings.

This particular player does not understand the bg color configuration so I had to add some further flashvars as follows:

print swf(
    $node->field_video[0]['filepath'],
    array(
      'flashvars' => array('image' => 'http://www.mysite.com/'.$node->field_video_image[0]['filepath'], 'backcolor' => 'F2F0E6', 'lightcolor' => '2E8F76', 'screencolor' => 'F2F0E6', 'frontcolor' => '2E8F76', )
    )
  ); 

frontcolor = controls;
lightcolor=part of volume display;
screencolor = background;
backcolor = control bar bg

Screencolor does not accept a hash sign before the hex so I removed hash signs from all hexes and it works fine: http://www.welcomefolks.com/home

shunshifu’s picture

Nice Job! Thank you

Nice idea for a website too. I'm going to tell one of my clients about it. She has a home inventory service. Maybe she'll use your site