Closed (fixed)
Project:
Dash Media Player
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2009 at 23:51 UTC
Updated:
10 May 2009 at 16:10 UTC
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
Comment #1
travist commentedThis 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.
Comment #2
toddchris commentedThanks 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.
Any other ideas?
TC
Comment #3
toddchris commentedComment #4
toddchris commentedI 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
Comment #5
travist commented