Mercurial > hg > isophonics-drupal-site
view core/themes/classy/templates/field/file-video.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 1fec387a4317 |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation to display the file entity as a video tag. * * Available variables: * - attributes: An array of HTML attributes, intended to be added to the * video tag. * - files: And array of files to be added as sources for the video tag. Each * element is an array with the following elements: * - file: The full file object. * - source_attributes: An array of HTML attributes for to be added to the * source tag. * * @ingroup themeable */ #} {{ attach_library('classy/file') }} <video {{ attributes }}> {% for file in files %} <source {{ file.source_attributes }} /> {% endfor %} </video>