var/cache/dev/twig/b8/b82d522d01e4b8f2ad5ebf1b88b8451c.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_6ef95593413317a4ca97f45b4ccc3371 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.     public function getTemplateName()
  50.     {
  51.         return "areas/video/view.html.twig";
  52.     }
  53.     public function isTraitable()
  54.     {
  55.         return false;
  56.     }
  57.     public function getDebugInfo()
  58.     {
  59.         return array (  50 => 11,  48 => 2,  45 => 1,);
  60.     }
  61.     public function getSourceContext()
  62.     {
  63.         return new Source("<section class=\"area-video\">
  64.     {{
  65.         pimcore_video('video', {
  66.             attributes: {
  67.                 class: 'video-js vjs-default-skin vjs-big-play-centered',
  68.                 'data-setup': '{}'
  69.             },
  70.             thumbnail: 'content',
  71.             height: '100%'
  72.         })
  73.     }}
  74. </section>
  75. ""areas/video/view.html.twig""/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/templates/areas/video/view.html.twig");
  76.     }
  77.     
  78.     public function checkSecurity()
  79.     {
  80.         static $tags = array();
  81.         static $filters = array();
  82.         static $functions = array("pimcore_video" => 3);
  83.         try {
  84.             $this->sandbox->checkSecurity(
  85.                 [],
  86.                 [],
  87.                 ['pimcore_video']
  88.             );
  89.         } catch (SecurityError $e) {
  90.             $e->setSourceContext($this->source);
  91.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  92.                 $e->setTemplateLine($tags[$e->getTagName()]);
  93.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  94.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  95.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  96.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  97.             }
  98.             throw $e;
  99.         }
  100.     }
  101. }