var/cache/dev/twig/20/20f6a7cca2c5dbb8f6b8a0480dec6afc.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* /default/video.html.twig */
  16. class __TwigTemplate_f4eb2e92e890ef6c471224b291dff061 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'stylesheets' => [$this, 'block_stylesheets'],
  29. 'main_content' => [$this, 'block_main_content'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "/base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/video.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/video.html.twig"));
  44. $this->parent = $this->load("/base.html.twig", 1);
  45. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48. }
  49. // line 3
  50. /**
  51. * @return iterable<null|scalar|\Stringable>
  52. */
  53. public function block_stylesheets(array $context, array $blocks = []): iterable
  54. {
  55. $macros = $this->macros;
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  60. // line 4
  61. yield " <style>
  62. .video-container {
  63. position: relative;
  64. padding-bottom: 56.25%;
  65. padding-top: 0;
  66. height: 0;
  67. overflow: hidden;
  68. }
  69. .video-container iframe,
  70. .video-container object,
  71. .video-container embed {
  72. position: absolute;
  73. top: 0;
  74. left: 0;
  75. width: 100%;
  76. height: 100%;
  77. }
  78. </style>
  79. ";
  80. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82. yield from [];
  83. }
  84. // line 25
  85. /**
  86. * @return iterable<null|scalar|\Stringable>
  87. */
  88. public function block_main_content(array $context, array $blocks = []): iterable
  89. {
  90. $macros = $this->macros;
  91. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  93. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  95. // line 26
  96. yield " <div class=\"row text-center\">
  97. <div class=\"col\">
  98. <div class=\"video-container position-relative\">
  99. <iframe
  100. src=\"https://www.youtube.com/embed/SdsUtAmmiks\"
  101. title=\"YouTube video player\" frameborder=\"0\"
  102. allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\"
  103. allowfullscreen></iframe>
  104. </div>
  105. </div>
  106. </div>
  107. ";
  108. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110. yield from [];
  111. }
  112. /**
  113. * @codeCoverageIgnore
  114. */
  115. public function getTemplateName(): string
  116. {
  117. return "/default/video.html.twig";
  118. }
  119. /**
  120. * @codeCoverageIgnore
  121. */
  122. public function isTraitable(): bool
  123. {
  124. return false;
  125. }
  126. /**
  127. * @codeCoverageIgnore
  128. */
  129. public function getDebugInfo(): array
  130. {
  131. return array ( 120 => 26, 107 => 25, 77 => 4, 64 => 3, 41 => 1,);
  132. }
  133. public function getSourceContext(): Source
  134. {
  135. return new Source("{% extends '/base.html.twig' %}
  136. {% block stylesheets %}
  137. <style>
  138. .video-container {
  139. position: relative;
  140. padding-bottom: 56.25%;
  141. padding-top: 0;
  142. height: 0;
  143. overflow: hidden;
  144. }
  145. .video-container iframe,
  146. .video-container object,
  147. .video-container embed {
  148. position: absolute;
  149. top: 0;
  150. left: 0;
  151. width: 100%;
  152. height: 100%;
  153. }
  154. </style>
  155. {% endblock %}
  156. {% block main_content %}
  157. <div class=\"row text-center\">
  158. <div class=\"col\">
  159. <div class=\"video-container position-relative\">
  160. <iframe
  161. src=\"https://www.youtube.com/embed/SdsUtAmmiks\"
  162. title=\"YouTube video player\" frameborder=\"0\"
  163. allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\"
  164. allowfullscreen></iframe>
  165. </div>
  166. </div>
  167. </div>
  168. {% endblock %}
  169. ", "/default/video.html.twig", "/workspace/backend-app/templates/default/video.html.twig");
  170. }
  171. }