var/cache/dev/twig/7a/7a8a48736bf26e49ee988beda4fbcd87.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* areas/video/view.html.twig */
  14. class __TwigTemplate_d9ffffcf6f222876d1cb41453dfcb0a7 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/video/view.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/video/view.html.twig"));
  35.         // line 1
  36.         echo "<section class=\"area-video\">
  37.     ";
  38.         // line 2
  39.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"video""video", ["attributes" => ["class" => "video-js vjs-default-skin vjs-big-play-centered""data-setup" => "{}"], "thumbnail" => "content""height" => "100%"]);
  40.         // line 11
  41.         echo "
  42. </section>
  43. ";
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     /**
  50.      * @codeCoverageIgnore
  51.      */
  52.     public function getTemplateName()
  53.     {
  54.         return "areas/video/view.html.twig";
  55.     }
  56.     /**
  57.      * @codeCoverageIgnore
  58.      */
  59.     public function isTraitable()
  60.     {
  61.         return false;
  62.     }
  63.     /**
  64.      * @codeCoverageIgnore
  65.      */
  66.     public function getDebugInfo()
  67.     {
  68.         return array (  50 => 11,  48 => 2,  45 => 1,);
  69.     }
  70.     public function getSourceContext()
  71.     {
  72.         return new Source("<section class=\"area-video\">
  73.     {{
  74.         pimcore_video('video', {
  75.             attributes: {
  76.                 class: 'video-js vjs-default-skin vjs-big-play-centered',
  77.                 'data-setup': '{}'
  78.             },
  79.             thumbnail: 'content',
  80.             height: '100%'
  81.         })
  82.     }}
  83. </section>
  84. ""areas/video/view.html.twig""/var/www/dev-10/templates/areas/video/view.html.twig");
  85.     }
  86.     
  87.     public function checkSecurity()
  88.     {
  89.         static $tags = array();
  90.         static $filters = array();
  91.         static $functions = array("pimcore_video" => 3);
  92.         try {
  93.             $this->sandbox->checkSecurity(
  94.                 [],
  95.                 [],
  96.                 ['pimcore_video']
  97.             );
  98.         } catch (SecurityError $e) {
  99.             $e->setSourceContext($this->source);
  100.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  101.                 $e->setTemplateLine($tags[$e->getTagName()]);
  102.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  103.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  104.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  105.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  106.             }
  107.             throw $e;
  108.         }
  109.     }
  110. }