Playlist youtube

This page should only be applied if the script asks you to pass the manual migration skin.20210920.RGPD.inlinemedia.playlistyoutube

This update is optional but recommended to avoid migration problems in the future.

In the file youtubegallery_1.4.xsl or a file importing it

common-service-head-js

If you have overloaded the common-service-head-js template, delete the lines 

$j(document).ready(function() { 
....[8 lignes]...
});

et ajoutez l'appel suivant après la balise fermante </script> qui est juste en dessous (et donc à la fin du template)

<xsl:call-template name="youtube-playlist-js"> 
 <xsl:with-param name="uniqueId" select="$uniqueId" />
  <xsl:with-param name="playlistId" select="$playlistId" />
</xsl:call-template>

common-service-body-nonempty-content-content

If you've overloaded the template: common-service-body-nonempty-content-content apply this diff line 122/126.

Back to top