aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-theme-stack/layouts/shortcodes/tencent.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-theme-stack/layouts/shortcodes/tencent.html')
-rw-r--r--themes/hugo-theme-stack/layouts/shortcodes/tencent.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/hugo-theme-stack/layouts/shortcodes/tencent.html b/themes/hugo-theme-stack/layouts/shortcodes/tencent.html
new file mode 100644
index 0000000..463dec5
--- /dev/null
+++ b/themes/hugo-theme-stack/layouts/shortcodes/tencent.html
@@ -0,0 +1,10 @@
+{{ $vid := .Get 0 }}
+<div class="video-wrapper">
+ <iframe src="https://v.qq.com/txp/iframe/player.html?vid={{ $vid }}&auto=0"
+ scrolling="no"
+ frameborder="no"
+ framespacing="0"
+ allowfullscreen="true"
+ >
+ </iframe>
+</div> \ No newline at end of file