Ignore:
Timestamp:
Jun 14, 2017, 8:58:07 AM (3 years ago)
Author:
cedric@…
Message:

Securisation de la vignette utilisee sur les oembed rich/video async si on utilise acces restreint et/ou des urls arbos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/modeles/oembed_rich.html

    r103216 r104855  
    33<div class="oembed oe-rich[(#GET{async}|oui)async] clearfix[ (#ENV{align})]" style="max-width:#ENV{data/width}px;">
    44        <div class="rwd-rich-container[(#GET{async}|oui)oe-play-button]"
    5              style="width:100%;[height:(#ENV{data/height})px;][background:url('(#GET{thumbnail})') no-repeat center;background-size:cover;]"
     5             style="width:100%;[height:(#ENV{data/height})px;][background:url('(#GET{thumbnail}|oembed_safe_thumbnail)') no-repeat center;background-size:cover;]"
    66                         [(#GET{async}|oui)
    77             onclick="if (jQuery(this).is('.oe-play-button')){jQuery(this).removeClass('oe-play-button').addClass('loading').html(decodeURIComponent('[(#ENV*{data/html}|oembed_force_video_autoplay|rawurlencode|texte_script)]'));}"
Note: See TracChangeset for help on using the changeset viewer.