<?php

/* video-embed.tpl */
class __TwigTemplate_2c1a81c512d5b2ed6902fc6593b484fc5ff746484866f53fd867528e48d0349b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<!doctype html>
<html>
 <head>
  <style type=\"text/css\">body { margin: 0; padding: 0; line-height: 0; overflow: hidden } video { width: 100%; height: 100% }</style>
 </head>
 <body>
  <video data-width=\"";
        // line 7
        echo twig_escape_filter($this->env, (isset($context["width"]) ? $context["width"] : null), "html", null, true);
        echo "\" data-height=\"";
        echo twig_escape_filter($this->env, (isset($context["height"]) ? $context["height"] : null), "html", null, true);
        echo "\" poster=\"";
        echo twig_escape_filter($this->env, (isset($context["base_link"]) ? $context["base_link"] : null), "html", null, true);
        echo twig_escape_filter($this->env, (isset($context["poster"]) ? $context["poster"] : null), "html", null, true);
        echo "\" controls=\"controls\" preload=\"metadata\">
    ";
        // line 8
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["sources"]) ? $context["sources"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["source"]) {
            // line 9
            echo "      <source src=\"";
            echo twig_escape_filter($this->env, (isset($context["base_link"]) ? $context["base_link"] : null), "html", null, true);
            echo twig_escape_filter($this->env, $this->getAttribute($context["source"], "link", array()), "html", null, true);
            echo "\" type=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["source"], "type", array()), "html", null, true);
            echo "\"/>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['source'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 11
        echo "  </video>
 </body>
</html>
";
    }

    public function getTemplateName()
    {
        return "video-embed.tpl";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  52 => 11,  40 => 9,  36 => 8,  27 => 7,  19 => 1,);
    }
}
/* <!doctype html>*/
/* <html>*/
/*  <head>*/
/*   <style type="text/css">body { margin: 0; padding: 0; line-height: 0; overflow: hidden } video { width: 100%; height: 100% }</style>*/
/*  </head>*/
/*  <body>*/
/*   <video data-width="{{ width }}" data-height="{{ height }}" poster="{{ base_link }}{{ poster }}" controls="controls" preload="metadata">*/
/*     {% for source in sources %}*/
/*       <source src="{{ base_link }}{{ source.link }}" type="{{ source.type }}"/>*/
/*     {% endfor %}*/
/*   </video>*/
/*  </body>*/
/* </html>*/
/* */
