spip_nursit/plugins-dist/dist/nursit/oembed/modeles/oembed.html

6 lines
512 B
HTML
Raw Normal View History

2023-06-01 15:30:12 +00:00
#CACHE{7*24*3600}
[(#SET{data,#ENV**{url}|oembed_recuperer_data{#ENV{maxwidth,0},#ENV{maxheight,0}}})
][(#GET{data}|oui)
<figure class='spip_documents spip_documents_[(#ENV{align,center})] ressource oembed[ oembed_(#GET{data}|table_valeur{type})][ oembed_(#GET{data}|table_valeur{media}|replace{sound,audio})][ oembed_(#GET{data}|table_valeur{provider_name}|strtolower|replace{'\W','_'})]'>
[(#INCLURE{fond=modeles/oembed_[(#GET{data}|table_valeur{type,link})],data=#GET{data},url,align,lien,async})]
</figure>]