mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 14:03:16 +00:00
Tumblr: The video export now shows the title
This commit is contained in:
parent
64c68ac978
commit
71ec9fdd98
1 changed files with 4 additions and 1 deletions
|
@ -201,6 +201,9 @@ function tumblr_send(&$a,&$b) {
|
|||
if (($link != '') and $video) {
|
||||
$params['type'] = "video";
|
||||
$params['embed'] = $link;
|
||||
if ($b['title'] != '')
|
||||
$params['caption'] = '<p><strong><a href="'.$link.'">'.$b['title']."</a></strong></p>".bbcode($body);
|
||||
else
|
||||
$params['caption'] = bbcode($body);
|
||||
} else if (($link != '') and !$video) {
|
||||
$params['type'] = "link";
|
||||
|
|
Loading…
Reference in a new issue