mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +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%;">
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user