Sha256: 50f13a7c3a0b107b20d20a78d3cf713b427a2849806852b9c1646bfc57155cf4

Contents?: true

Size: 983 Bytes

Versions: 29

Compression:

Stored size: 983 Bytes

Contents

{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
{% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}

{% capture video_src %}
  {% case video_provider %}
  {% when "vimeo" %}
    https://player.vimeo.com/video/{{ video_id }}?dnt=true
  {% when "youtube" %}
    https://www.youtube-nocookie.com/embed/{{ video_id }}
  {% when "google-drive" %}
    https://drive.google.com/file/d/{{ video_id }}/preview
  {% when "bilibili" %}
    https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
  {% endcase %}
{% endcapture %}
{% assign video_src = video_src | strip %}

<!-- Courtesy of embedresponsively.com -->
{% unless video_src == "" %}
  <div class="responsive-video-container">
    <iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
  </div>
{% endunless %}

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
oneflow-jekyll-1.0 _includes/video
minimal-mistakes-jekyll-4.26.2 _includes/video
minimal-mistakes-jekyll-4.26.0 _includes/video
minimal-mistakes-jekyll-4.25.1 _includes/video
minimal-mistakes-jekyll-4.25.0 _includes/video
creek-jekyll-theme-1.7.5 _includes/video
creek-jekyll-theme-1.7.4 _includes/video
creek-jekyll-theme-1.7.3 _includes/video
creek-jekyll-theme-1.7.1 _includes/video
creek-jekyll-theme-1.7.0 _includes/video
creek-jekyll-theme-1.6.0 _includes/video
creek-jekyll-theme-1.5.0 _includes/video
creek-jekyll-theme-1.4.1 _includes/video
creek-jekyll-theme-1.4.0 _includes/video
creek-jekyll-theme-1.3.0 _includes/video
creek-jekyll-theme-1.2.2 _includes/video
creek-jekyll-theme-1.2.0 _includes/video
creek-jekyll-theme-1.1.0 _includes/video
creek-jekyll-theme-1.0.0 _includes/video
creek-jekyll-theme-0.5.2 _includes/video