Merge pull request #10 from ManeraKai/fix-share-video-link
Fixed Video Share Link
This commit is contained in:
commit
19e2c32c77
|
@ -3,7 +3,7 @@
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="columns is-multiline is-vcentered">
|
<div class="columns is-multiline is-vcentered">
|
||||||
{foreach $feed->items as $item}
|
{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)"
|
<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_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='}"
|
data-video_download_watermark="{path('/stream?url=' . urlencode($item->video->playAddr) . '&download=1&id=' . $item->id . '&user=' . $item->author->uniqueId) . '&watermark='}"
|
||||||
|
|
Loading…
Reference in a new issue