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%;"> <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" <iframe src="http://v.qq.com/txp/iframe/player.html?vid={{ $vid }}&auto=0"
scrolling="no" scrolling="no"
frameborder="no" frameborder="no"
framespacing="0" framespacing="0"
allowfullscreen="true" allowfullscreen="true"
style="position: absolute; width: 100%; height: 100%; padding: 20px;" style="position: absolute; width: 100%; height: 100%;">
>
</iframe> </iframe>
</div> </div>