diff options
author | zhixuan <59254886+zhixuan2333@users.noreply.github.com> | 2021-09-24 21:32:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 21:32:53 +0300 |
commit | 57bfea833850e0565cf81d9a26c52359427151a2 (patch) | |
tree | cc45279c8dc7ffd8c46fa736b864616c4c646bb5 /layouts | |
parent | 7845f5dfe73b60e725182bc83fb7800d921e100b (diff) |
fix(shortcodes): mixed content error with bilibili and tencent video (#365)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/bilibili.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/tencent.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/bilibili.html b/layouts/shortcodes/bilibili.html index 602406c..cb72e43 100644 --- a/layouts/shortcodes/bilibili.html +++ b/layouts/shortcodes/bilibili.html @@ -13,7 +13,7 @@ {{ end }}
<div class="video-wrapper">
- <iframe src="//player.bilibili.com/player.html?{{ $basicQuery | safeURL }}&{{ $videoQuery | safeURL }}"
+ <iframe src="https://player.bilibili.com/player.html?{{ $basicQuery | safeURL }}&{{ $videoQuery | safeURL }}"
scrolling="no"
frameborder="no"
framespacing="0"
diff --git a/layouts/shortcodes/tencent.html b/layouts/shortcodes/tencent.html index baf5f3c..463dec5 100644 --- a/layouts/shortcodes/tencent.html +++ b/layouts/shortcodes/tencent.html @@ -1,6 +1,6 @@ {{ $vid := .Get 0 }}
<div class="video-wrapper">
- <iframe src="http://v.qq.com/txp/iframe/player.html?vid={{ $vid }}&auto=0"
+ <iframe src="https://v.qq.com/txp/iframe/player.html?vid={{ $vid }}&auto=0"
scrolling="no"
frameborder="no"
framespacing="0"
|