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