The logo works fine with the dashplayer used with "dashplayer_get_player", but not with 'flashvideo_get_video".

The code for the dash player I'm using is:

<?php
   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   $params['logo'] = 'http://www.mynlada.org/files/player_logo.png';
  $params['link'] = 'http://www.mynlada.org';
   print dashplayer_get_player($params);
?>
 

So I thought that this would work in contemplate for my video content type:

<?php
   $params['width'] = 652;
   $params['height'] = 432;
   $params['logo'] = 'http://www.mynlada.org/files/player_logo.png';
  $params['link'] = 'http://www.mynlada.org';
   print flashvideo_get_video($node, $params);
?>

You can see the actual pages here:

http://www.mynlada.org/content/now-playing

http://www.mynlada.org/content/nlada-media-project

Any help Travis would be greatly appreciated.

Thanks,
TC

Comments

travist’s picture

Status: Active » Fixed

This is because the flashvideo_get_video is probably pointing to a different player that does not have the license provided in the dashconfig.xml file relative to that player.

I believe that the FlashVideo player references from the files directory, while the DashPlayer module references the player from the player directory. If you want both of them to work, then you will need to provide the same dashconfig.xml file that you have within the DashPlayer "player" folder to the "files" folder.

Please make sure that this is not the issue and let me know if it is not.

Thanks,

Travis.

toddchris’s picture

Thanks for the quick reply. I tried two things. I copied the dashconfig.xml file into the files directory, and then also copied the entire config directory into the files directory. Neither seemed to work.

This is what my config file looks like.

- <params>
  <license>fe09484af5beddc967bba33a48ddd8843713</license> 
  <gateway>http://www.mynlada.org/services/amfphp</gateway> 
  <apiKey>bf005d893310f9c2d666033970c14304</apiKey> 
  <baseURL>http://www.mynlada.org</baseURL> 
- <flashvars>
- <!--  You can specify any flashvars here by providing the name of the flashvar as the tag, and the value in between those tags. 
  --> 
  </flashvars>
  </params>

Any other ideas?

TC

toddchris’s picture

Status: Fixed » Active
toddchris’s picture

I thought I'd cleared all my cache, but it did do something. Now no logo is showing up which is at least a start. I'll look into that further.

tc

travist’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.