quelque chose de ce style sur l'affichage de la partie video
:
:
<?php
if(array_key_exists('trailer',$allocine->getArray())){
?>
<center>
<div style="width:420px; height:335px">
<object width="100%" height="100%">
<param name="movie" value="<?php echo $_data->bande_annonce; ?>"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="<?php echo $_data->bande_annonce; ?>" type="application/x-shockwave-flash" width="100%" height="100%" allowFullScreen="true" allowScriptAccess="always"/>
</object>
</div>
</center>
<?php
}
?>