Hi,
Everything is in the title. The player is working fine, but I would to enable it in a block. I tried this in the body of the block (in PHP code) :
<?php
$params['width'] = 326;
$params['height'] = 216;
$params['playlist'] = 'videos';
print dashplayer_get_player($params);
?>
<?php
include ('player/dash.php');
print dashplayer_get_player();
?>
but the player is not embedded in the block. In fact, the player block appears on every url of my site, but the site itself disappears when the block is enabled!
What can I do?
Thanks
Comments
Comment #1
Anonymous (not verified) commentedI didn't test it with dash, try http://drupal.org/project/nodesinblock.
But it could be something else, like the end part php code.
Comment #2
travist commentedIf you are using Drupal, then you do not need to include the code...
This is for non-Drupal sites... What you want is just the first PHP code that you submitted...
If this doesn't show up, then make sure that the path to the Dash media player is correct in your Dash Player Settings.
Hope this helps.
Travis.