mirror of https://gitlab.com/bashrc2/epicyon
Tiktok blockquote
parent
23c788ba12
commit
e9ae129f35
|
@ -361,6 +361,11 @@ blockquote {
|
|||
font-size: var(--quote-font-size);
|
||||
quotes: "\201C""\201D""\2018""\2019";
|
||||
}
|
||||
|
||||
blockquote tiktok-embed {
|
||||
quotes: "";
|
||||
}
|
||||
|
||||
blockquote:before {
|
||||
content: open-quote;
|
||||
font-size: 2em;
|
||||
|
|
|
@ -49,11 +49,16 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
|
|||
video_id = video_id.split('?')[0]
|
||||
content += \
|
||||
'<center>\n<span itemprop="video">\n' + \
|
||||
'<blockquote class="tiktok-embed" ' + \
|
||||
'cite="https://www.tiktok.com/@' + \
|
||||
channel + '/video/' + video_id + '" data-video-id="' + \
|
||||
video_id + '" ' + \
|
||||
'style="max-width: 605px;min-width: 325px;" >\n' + \
|
||||
'<section>\n' + \
|
||||
'<a target="_blank" title="@' + channel + \
|
||||
'" href="https://www.tiktok.com/@' + channel + \
|
||||
'?refer=embed">@' + channel + '</a>\n' + \
|
||||
'</section>\n' + \
|
||||
'</section>\n</blockquote>\n' + \
|
||||
'<script async ' + \
|
||||
'src="https://www.tiktok.com/embed.js">\n' + \
|
||||
'</script></span>\n</center>\n'
|
||||
|
|
Loading…
Reference in New Issue