{% comment %}

    Adds html video element with source given in child's object_location.
    Sizing is controlled using Bootstrap "ratio" styles.

{%- endcomment -%}
<div class="ratio ratio-16x9">
    <video {% if child.image_small %}poster="{{ child.image_small | relative_url }}" {% endif %}preload="metadata" controls>
        <source src="{{ child.object_location | relative_url }}">
        Your browser does not support the video tag.
    </video>
</div>