<?php 
try {
    $uc_url = uc_url_for_scimage(film_image_path($imageFilename), $thumbWidth, $thumbHeight);
}
catch(Exception $e) {
	$uc_url = "";
}
?>
<div id="player-<?php echo $film->getRef(); ?>" class="player-item player-item-<?php echo ((isset($size) && $size == 'big') ? 'big' : 'mini');?>" style="background:transparent url('<?php echo "$uc_url"; ?>') no-repeat;" href="<?php echo film_video_path($videoFilename);?>">
  <div class="infos">
    <a href="<?php echo $actionUri; ?>" class="title" target="_top"><?php echo $film->getTitle(); ?></a> <span class="film-infos">De <?php echo thd_render_flat_list($film->getDirectorsArray(), 'name'); ?></span>
  </div>
  <img src="<?php echo image_path('buttons/btn_play.png'); ?>"/ class="play-button"></a>
  <?php if ($tagCloud): ?>
  <div class="tags">
    <ul class="item-list tag-list">
      <li><span class="head">
        <i>Tags liés au film :</i>
      </span></li>
    <?php
	    foreach($tagCloud as $tag): ?>
	    <li class="tag-score-<?php echo $tag['count']; ?>"><a href="<?php echo url_for("@tagging?tag=".$tag['tag']);?>"><?php echo $tag['tag']; ?></a>
	    </li>
    <?php endforeach; ?>
    </ul>
  </div>
  <?php endif; ?>
</div>
<div class="tag-action"><a href="<?php echo $actionUri ?>" class="link-button">Tagger le film</a></div>