2011-12-15 16:48:50 +01:00
|
|
|
{* oembed.tpl last modified 2011-12-01 *}
|
|
|
|
<span class="serendipity_oembed">
|
|
|
|
{if $oembed.type=='rich'}
|
|
|
|
{$oembed.html}
|
|
|
|
{elseif $oembed.type=='video'}
|
|
|
|
{$oembed.html}
|
|
|
|
{elseif $oembed.type=='image'}
|
2011-12-16 11:44:55 +01:00
|
|
|
<a href="{$oembed.url}"><img src="{$oembed.thumbnail_url}""{if $oembed.title} title="{$oembed.title}" alt="{$oembed.title}"{/if}/></a>
|
2011-12-15 16:48:50 +01:00
|
|
|
{elseif $oembed.type=='photo'}
|
2011-12-16 11:44:55 +01:00
|
|
|
<img src="{$oembed.url}"{if $oembed.title} title="{$oembed.title}" alt="{$oembed.title}"{/if}/>
|
2011-12-15 16:48:50 +01:00
|
|
|
{elseif $oembed.type=='link'}
|
|
|
|
<a href="{$oembedurl}" title="{$oembed.title}">{$oembed.author_name}</a>
|
|
|
|
{else}
|
2011-12-16 11:44:55 +01:00
|
|
|
<a href="{$oembedurl}" target="_blank">{$oembedurl}</a>
|
2011-12-15 16:48:50 +01:00
|
|
|
{/if}
|
|
|
|
</span>
|