Sha256: 0011b820b3ee761b9eadcb0a721e9e39ff2a0263686c546a2006eaf6cec9e925

Contents?: true

Size: 764 Bytes

Versions: 4

Compression:

Stored size: 764 Bytes

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 %}
        <source src="{{ include.name }}.{{ format.ext }}" type="video/{{ format.type }}">
        {% 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

4 entries across 4 versions & 1 rubygems

Version Path
aemi-1.2.10 _includes/video-caption.html
aemi-1.2.9 _includes/video-caption.html
aemi-1.2.8 _includes/video-caption.html
aemi-1.2.7 _includes/video-caption.html