Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

这是一个用于Jekyll的youku、tudou嵌入插件。

This is a plugin meant for Jekyll.

用例:

Example use:

将youku.rb和/或tudou.rb文件拷贝至_plugins目录下,然后在文章中输入以下代码即可嵌入。

Easily embed a YouTube video. Just drop these files in your `_plugins directory.

{% youku XNTc2ODk1NjI0 %}
{% tudou XNTc2ODk1NjI0 %}

你还可以定义播放器的宽度和高度。如果你不提供,将使用默认值560 x 420。

You can also specify a height and width. If you do not, it defaults to 560 x 420.

{% youku XNTc2ODk1NjI0 500 400 %}
{% tudou XNTc2ODk1NjI0 500 400 %}

基于Generate YouTube Embed (tag) by joelverhagen制作。

Based on Generate YouTube Embed (tag) by joelverhagen