Add video to the feed content

This commit is contained in:
konopielko
2022-06-21 20:18:07 +02:00
committed by GitHub
parent e2282f9dcc
commit 76bfcbe34a
+1 -1
View File
@@ -12,7 +12,7 @@
{foreach $items as $item}
<item>
<title>{$item->desc}</title>
<description><![CDATA[{$item->desc}]]></description>
<description><![CDATA[<p>{$item->desc}</p><video controls="controls" preload="auto" src="{path('/stream?url=' . urlencode($item->video->playAddr))}"></video>]]></description>
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
<pubDate>{date('r', $item->createTime)}</pubDate>
<guid isPermaLink="false">{$item->id}</guid>