Sha256: 9a542339cfccff2838983959328aba3d7c31a6d5afe8efd679042d4cbb7e331a
Contents?: true
Size: 1.36 KB
Versions: 12
Compression:
Stored size: 1.36 KB
Contents
<figure class="video no-caption"> <video {% if include.autoplay == true %}autoplay{% endif %} {% if include.loop == true %}loop{% endif %} {% if include.muted == true %}muted{% endif %} {% if include.controls == true %}controls{% endif %} {% if include.alt != nil %}alt="{{ include.alt | escape }}"{% endif %} width="100%"> {% for format in site.data.mime.types.video %} {% if include.portrait == true %} <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: 2560px)"> {% for size in site.data.sizes.portrait %} <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-height: {{ size.height }}px)"> {% endfor %} {% else %} <source src="{{ include.name }}.full.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: 2560px)"> {% for size in site.data.sizes.landscape %} <source src="{{ include.name }}.{{ size.height }}p.{{ format.ext }}" type="video/{{ format.type }}" media="all and (min-width: {{ size.width }}px)"> {% endfor %} {% endif %} {% endfor %} </video> {% if include.alt != nil %} <figcaption class="screen-reader-text">{{ include.alt | escape }}</figcaption> {% endif %} </figure>
Version data entries
12 entries across 12 versions & 1 rubygems