Cette page ne doit être appliquée que si le script vous demande de passer la migration manuelle skin.20230605.InlineMedia.player
Lorsqu’une vidéo ou une piste audio est insérée dans un contenu (dans l'éditeur en ligne), le HTML généré a été modifié pour que l'alignement et/ou le style du paragraphe dans lequel est inséré le média soit pris en compte.
L'élément englobant le playeur audio ou video est un <span> au lieu d'un <div> auparavant.
Avant :
<div id="player-N10039" class="ametys-media-player" style="width:100%; min-width: 250px; max-width:300px; max-height:200px"> [...] </div>
<div id="player-N10039" class="ametys-media-player" style="width:100%; min-width: 250px; max-width:300px; max-height:200px"> [...] </div>
<div id="player-N10039" class="ametys-media-player" style="width:100%; min-width: 250px; max-width:300px; max-height:200px"> [...] </div>
Après
<span id="player-N10039" class="ametys-media-player" style="display:inline-block; width:100%; min-width: 250px; max-width:300px;max-height:200px"> [...] </span>
<span id="player-N10039" class="ametys-media-player" style="display:inline-block; width:100%; min-width: 250px; max-width:300px;max-height:200px"> [...] </span>
<span id="player-N10039" class="ametys-media-player" style="display:inline-block; width:100%; min-width: 250px; max-width:300px;max-height:200px"> [...] </span>
Assurez-vous que le rendu reste correct dans votre charte. Si vous aviez une CSS qui s'appliquait explicitement sur le <div> englobant, elle pourrait ne plus s'appliquer.