diff options
Diffstat (limited to '_includes/extensions')
-rw-r--r-- | _includes/extensions/bilibili.html | 5 | ||||
-rw-r--r-- | _includes/extensions/codepen.html | 4 | ||||
-rw-r--r-- | _includes/extensions/netease-cloud-music.html | 4 | ||||
-rw-r--r-- | _includes/extensions/slideshare.html | 6 | ||||
-rw-r--r-- | _includes/extensions/soundcloud.html | 4 | ||||
-rw-r--r-- | _includes/extensions/ted.html | 5 | ||||
-rw-r--r-- | _includes/extensions/youtube.html | 4 |
7 files changed, 32 insertions, 0 deletions
diff --git a/_includes/extensions/bilibili.html b/_includes/extensions/bilibili.html new file mode 100644 index 0000000..26f4fa4 --- /dev/null +++ b/_includes/extensions/bilibili.html @@ -0,0 +1,5 @@ +<div class="extensions extensions--video"> + <iframe src="//player.bilibili.com/player.html?aid={{ include.id }}&page=1" + frameborder="no" scrolling="no" allowfullscreen="true"> + </iframe> +</div> diff --git a/_includes/extensions/codepen.html b/_includes/extensions/codepen.html new file mode 100644 index 0000000..2240dcf --- /dev/null +++ b/_includes/extensions/codepen.html @@ -0,0 +1,4 @@ +<div class="extensions extensions--demo"> +<iframe src='//codepen.io/{{ include.user }}/embed/{{ include.hash }}/?theme-id=0&default-tab={{ include.default_tab | default: result }}' + frameborder="0" scrolling="no" allowfullscreen></iframe> +</div> diff --git a/_includes/extensions/netease-cloud-music.html b/_includes/extensions/netease-cloud-music.html new file mode 100644 index 0000000..be0b3b1 --- /dev/null +++ b/_includes/extensions/netease-cloud-music.html @@ -0,0 +1,4 @@ +<iframe class="extensions extensions--audio" width="330" height="86" + src="//music.163.com/outchain/player?type=2&id={{ include.id }}&auto=1&height=66" + frameborder="no" border="0" marginwidth="0" marginheight="0"> +</iframe> diff --git a/_includes/extensions/slideshare.html b/_includes/extensions/slideshare.html new file mode 100644 index 0000000..310806b --- /dev/null +++ b/_includes/extensions/slideshare.html @@ -0,0 +1,6 @@ +<div class="extensions extensions--slide"> + <iframe src="//www.slideshare.net/slideshow/embed_code/key/{{ include.id }}" + width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" + style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> + </iframe> +</div> diff --git a/_includes/extensions/soundcloud.html b/_includes/extensions/soundcloud.html new file mode 100644 index 0000000..b4e086b --- /dev/null +++ b/_includes/extensions/soundcloud.html @@ -0,0 +1,4 @@ +<iframe class="extensions extensions--audio" width="100%" height="166" + src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ include.id }}&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true" + scrolling="no" frameborder="no" allow="autoplay"> +</iframe>
\ No newline at end of file diff --git a/_includes/extensions/ted.html b/_includes/extensions/ted.html new file mode 100644 index 0000000..1ffc9f4 --- /dev/null +++ b/_includes/extensions/ted.html @@ -0,0 +1,5 @@ +<div class="extensions extensions--video"> + <iframe src="https://embed.ted.com/talks/{{ include.id }}" + frameborder="0" scrolling="no" allowfullscreen> + </iframe> +</div> diff --git a/_includes/extensions/youtube.html b/_includes/extensions/youtube.html new file mode 100644 index 0000000..6f9c2c8 --- /dev/null +++ b/_includes/extensions/youtube.html @@ -0,0 +1,4 @@ +<div class="extensions extensions--video"> + <iframe src="https://www.youtube.com/embed/{{ include.id }}?rel=0&showinfo=0" + frameborder="0" scrolling="no" allowfullscreen></iframe> +</div> |