Fixed Video Share Link

This commit is contained in:
ManeraKai 2022-02-13 12:57:08 +03:00
parent fccec753d9
commit 0c4616c695
No known key found for this signature in database
GPG key ID: 5ABC31FFD562E337

View file

@ -3,7 +3,7 @@
<section class="section">
<div class="columns is-multiline is-vcentered">
{foreach $feed->items as $item}
{do $share_url = 'https://tiktok.com/@' . $item->author->uniqueId . '/' . $item->id}
{do $share_url = 'https://tiktok.com/@' . $item->author->uniqueId . '/video/' . $item->id}
<div class="column is-one-quarter clickable-img" id="{$item->id}" onclick="openVideo(this.id)"
data-video_url="{path('/stream?url=' . urlencode($item->video->playAddr))}"
data-video_download_watermark="{path('/stream?url=' . urlencode($item->video->playAddr) . '&download=1&id=' . $item->id . '&user=' . $item->author->uniqueId) . '&watermark='}"