spip_nursit/plugins-dist/dist/nursit/oembed/modeles/oembed.html
2023-06-01 17:30:12 +02:00

6 lines
No EOL
512 B
HTML

#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>]