mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
fix(shortcode/tencent): switch to HTML5
The old one was showing video using Flash.
This commit is contained in:
parent
402de343d5
commit
7104dbb60c
@ -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>
|
Loading…
Reference in New Issue
Block a user