Sha256: 6b4a04fe646458100b41c188eef27f3b67ad34c83a64050572587022e520c212

Contents?: true

Size: 1.44 KB

Versions: 12

Compression:

Stored size: 1.44 KB

Contents

<figure class="video with-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.caption != nil %}
    <figcaption>{{ include.caption | escape }}</figcaption>
    {% else if include.alt != nil %}
    <figcaption>{{ include.alt | escape }}</figcaption>
    {% endif %}
</figure>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
aemi-1.2.6 _includes/video-caption.html
aemi-1.2.5 _includes/video-caption.html
aemi-1.2.4 _includes/video-caption.html
aemi-1.2.3 _includes/video-caption.html
aemi-1.2.2 _includes/video-caption.html
aemi-1.2.1 _includes/video-caption.html
aemi-1.2.0 _includes/video-caption.html
aemi-1.1.5 _includes/video-caption.html
aemi-1.1.4 _includes/video-caption.html
aemi-1.1.3 _includes/video-caption.html
aemi-1.1.2 _includes/video-caption.html
aemi-1.1.1 _includes/video-caption.html