Try without blockquote

main
Bob Mottram 2022-10-08 16:27:03 +01:00
parent 3f1754e518
commit 23c788ba12
1 changed files with 1 additions and 6 deletions

View File

@ -49,16 +49,11 @@ 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</blockquote>\n' + \ '</section>\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'