• Playlist youtube

      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.

    • Plugin InlineMedia - RGPD - Rich text: Youtube and Dailymotion

      Plugin InlineMedia - RGPD - Rich text: Youtube and Dailymotion

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

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

      If you have overloaded one of the following templates, you must

      • docbook:videoobject[docbook:videodata/@type = 'youtube'] apply this diff lines /25 and 24/37
      • docbook:videoobject[docbook:videodata/@type = 'dailymotion'] apply this diff lines /26 and 50/61
      • media[@data-ametys-type = 'youtube'] apply this diff lines /24 and 31/34
      • media[@data-ametys-type = 'dailymotion'] apply this diff lines /25 and 38/44

      Il se peut que l'élément <iframe> ait été modifié dans votre XSL par rapport au noyau, reportez la modification dans l'appel au template youtube ou dailymotion.

    • Plugin InlineMedia - Rich text: Youtube and Dailymotion responsive

      This page should only be used if script asks you to manually migrate skin.20220308.Responsive.inlinemedia.richtext

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

      For the following templates,

      docbook:videoobject[docbook:videodata/@type = 'youtube']
      docbook:videoobject[docbook:videodata/@type = 'dailymotion']

      the kernel proposes a new version

      • responsive,
      • compatible with plugin tarteaucitron
      • and has no centering problems.

      It is therefore likely that the overload in your graphic charter has become unnecessary and needs to be removed.

      If your modification concerned another aspect, please apply the following diff between lines 36/65 to 76/109.

    • Rich text: Youtube and Dailymotion responsive

      Le changement de code du noyau a pu entrainer une régression graphique selon les CSS de votre charte.
      En effet, le tag iframe des vidéos est maintenant encapsulé dans 2 <span>.

Back to top

Inlinemedia