fix(shortcode/tencent): switch to HTML5

The old one was showing video using Flash.
This commit is contained in:
Jimmy Cai 2021-02-13 09:55:34 +01:00
parent 402de343d5
commit 7104dbb60c
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18

View File

@ -1,13 +1,10 @@
{{ $vid := (.Get 0) }}
{{ $vid := .Get 0 }}
<div style="position: relative; width: 100%; height: 0; padding-bottom: 56.25%;">
<iframe src="http://v.qq.com/iframe/player.html?vid={{ $vid }}&auto=0"
scrolling="no"
<iframe src="http://v.qq.com/txp/iframe/player.html?vid={{ $vid }}&auto=0"
scrolling="no"
frameborder="no"
framespacing="0"
allowfullscreen="true"
style="position: absolute; width: 100%; height: 100%; padding: 20px;"
>
framespacing="0"
allowfullscreen="true"
style="position: absolute; width: 100%; height: 100%;">
</iframe>
</div>