var/cache/dev/twig/93/93e11c16d7c4656b06c33dc16bd9d82b.php line 67

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. /* dashboard_free/lesson-video.html.twig */
  16. class __TwigTemplate_aa46bdb698679407c6755c774991b160 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.             'head' => [$this'block_head'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "dashboard_free/layout.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""dashboard_free/lesson-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""dashboard_free/lesson-video.html.twig"));
  44.         $this->parent $this->loadTemplate("dashboard_free/layout.html.twig""dashboard_free/lesson-video.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 2
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_head(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  62.         // line 3
  63.         yield "  <meta name=\"description\" content=\"";
  64.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'3$this->source); })()), "metaDescription", [], "any"falsefalsefalse3), "html"nulltrue);
  65.         yield "\" />
  66.   <title>";
  67.         // line 4
  68.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4), "html"nulltrue);
  69.         yield " - Les Bons Profs</title>
  70.   <link rel=\"canonical\" href=\"";
  71.         // line 5
  72.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front"$context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.'5$this->source); })()), "html"nulltrue);
  73.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "attributes", [], "any"falsefalsefalse5), "get", ["_route"], "method"falsefalsefalse5), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "attributes", [], "any"falsefalsefalse5), "get", ["_route_params"], "method"falsefalsefalse5)), "html"nulltrue);
  74.         yield "\" />
  75.   <!--Tags Facebook-->
  76.   <meta property=\"og:url\"                content=\"";
  77.         // line 8
  78.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front"$context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.'8$this->source); })()), "html"nulltrue);
  79.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "attributes", [], "any"falsefalsefalse8), "get", ["_route"], "method"falsefalsefalse8), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "attributes", [], "any"falsefalsefalse8), "get", ["_route_params"], "method"falsefalsefalse8)), "html"nulltrue);
  80.         yield "\" />
  81.   <meta property=\"og:type\"               content=\"website\" />
  82.   <meta property=\"og:title\"              content=\"";
  83.         // line 10
  84.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'10$this->source); })()), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  85.         yield " - Les Bons Profs\" />
  86.   <meta property=\"og:description\"        content=\"";
  87.         // line 11
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'11$this->source); })()), "metaDescription", [], "any"falsefalsefalse11), "html"nulltrue);
  89.         yield "\" />
  90.   <meta property=\"og:image\"              content=\"";
  91.         // line 12
  92.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front"$context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.'12$this->source); })()), "html"nulltrue);
  93.         yield "/static/img/dashboard-free/eleve-cours-gratuit.webp\" />
  94.   <script type=\"application/ld+json\">
  95.     {
  96.         \"@context\": \"https://schema.org\",
  97.               \"@type\": \"VideoObject\",
  98.               \"name\": \"";
  99.         // line 17
  100.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'17$this->source); })()), "title", [], "any"falsefalsefalse17)), "html"nulltrue);
  101.         yield "\",
  102.               \"description\": \"";
  103.         // line 18
  104.         if ( !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'18$this->source); })()), "metadescription", [], "any"falsefalsefalse18))) {
  105.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'18$this->source); })()), "metadescription", [], "any"falsefalsefalse18), "html"nulltrue);
  106.         } else {
  107.             yield "Cours de ";
  108.             if ((isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'18$this->source); })())) {
  109.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'18$this->source); })()), "notion", [], "any"falsefalsefalse18), "library", [], "any"falsefalsefalse18), "discipline", [], "any"falsefalsefalse18), "title", [], "any"falsefalsefalse18), "html"nulltrue);
  110.             }
  111.             yield " pour ";
  112.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'18$this->source); })()), "title", [], "any"falsefalsefalse18), "html"nulltrue);
  113.             yield " : vidéos pédagogiques, exercices corrigés et méthodologie. Par Les Bons Profs.";
  114.         }
  115.         yield "\",
  116.               \"thumbnailUrl\": \"https://img.youtube.com/vi/";
  117.         // line 19
  118.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'19$this->source); })()), "videoId", [], "any"falsefalsefalse19), "html"nulltrue);
  119.         yield "/maxresdefault.jpg\",
  120.               \"uploadDate\": \"2025-06-16\",
  121.               \"duration\": \"";
  122.         // line 21
  123.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'21$this->source); })()), "durationYoutube", [], "any"falsefalsefalse21), "html"nulltrue);
  124.         yield "\",
  125.               \"contentUrl\": \"https://www.youtube.com/embed/";
  126.         // line 22
  127.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'22$this->source); })()), "videoId", [], "any"falsefalsefalse22), "html"nulltrue);
  128.         yield "\",
  129.               \"embedUrl\": \"https://www.youtube.com/embed/";
  130.         // line 23
  131.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'23$this->source); })()), "videoId", [], "any"falsefalsefalse23), "html"nulltrue);
  132.         yield "\",
  133.               \"publisher\": {
  134.         \"@type\": \"Organization\",
  135.                 \"name\": \"Les Bons Profs\",
  136.                 \"logo\": {
  137.           \"@type\": \"ImageObject\",
  138.                   \"url\": \"https://lesbonsprofs.com/static/img/dashboard-free/les-bons-profs-logo.svg\"
  139.         }
  140.       },
  141.         \"teachingMode\": \"online\",
  142.               \"educationalLevel\": \"";
  143.         // line 33
  144.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'33$this->source); })()), "title", [], "any"falsefalsefalse33)), "html"nulltrue);
  145.         yield "\",
  146.               \"inLanguage\": \"fr\",
  147.               \"learningResourceType\": \"VideoLesson\",
  148.               \"isAccessibleForFree\": true,
  149.               \"offers\": {
  150.         \"@type\": \"Offer\",
  151.                 \"price\": \"0\",
  152.                 \"priceCurrency\": \"EUR\",
  153.                 \"availability\": \"https://schema.org/InStock\"
  154.       }
  155.     }
  156.   </script>
  157. ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.         yield from [];
  163.     }
  164.     // line 46
  165.     /**
  166.      * @return iterable<null|scalar|\Stringable>
  167.      */
  168.     public function block_content(array $context, array $blocks = []): iterable
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  175.         // line 47
  176.         yield "
  177.   <!-- Popup -->
  178.   <div x-cloak>
  179.     <!-- Fond noir transparent flouté -->
  180.     <div x-show=\"open\"
  181.          x-transition:enter=\"transition ease-out duration-300\"
  182.          x-transition:enter-start=\"opacity-0\"
  183.          x-transition:enter-end=\"opacity-100\"
  184.          x-transition:leave=\"transition ease-in duration-200\"
  185.          x-transition:leave-start=\"opacity-100\"
  186.          x-transition:leave-end=\"opacity-0\"
  187.          class=\"fixed inset-0 bg-black/50 backdrop-blur-sm z-40\"
  188.          @click=\"open = false\">
  189.       <!-- Contenu du popup -->
  190.       <div class=\"fixed inset-0 z-50 flex items-center justify-center\">
  191.         <div class=\"flex flex-col items-center bg-white border-8 border-miel rounded-lg p-4 sm:p-6 max-w-lg mx-4\" @click.stop>
  192.           <!-- Contenu à personnaliser -->
  193.           <p class=\"text-2xl text-bleu font-bold text-center mb-4\">Tous nos cours en ligne en accès gratuit</p>
  194.           <img src=\"";
  195.         // line 66
  196.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'66$this->source); })()), "html"nulltrue);
  197.         yield "/static/img/dashboard-free/hibou-popup1.webp\" alt=\"Tous nos cours en ligne en accès gratuit\" class=\"w-40 z-10\">
  198.           <div class=\"flex justify-between bg-miel text-bleu font-bold rounded-lg columns-2 w-full sm:w-[90%] p-4 sm:p-5 -mt-[14px]\">
  199.             <ul>
  200.               <li class=\"flex items-baseline\"><img src=\"";
  201.         // line 69
  202.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'69$this->source); })()), "html"nulltrue);
  203.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"Vidéos\" class=\"w-4 sm:w-5 mr-1\">Vidéos</li>
  204.               <li class=\"flex items-baseline\"><img src=\"";
  205.         // line 70
  206.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'70$this->source); })()), "html"nulltrue);
  207.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"Fiches\" class=\"w-4 sm:w-5 mr-1\">Fiches</li>
  208.               <li class=\"flex items-baseline\"><img src=\"";
  209.         // line 71
  210.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'71$this->source); })()), "html"nulltrue);
  211.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"QCM\" class=\"w-4 sm:w-5 mr-1\">QCM</li>
  212.             </ul>
  213.             <ul>
  214.               <li class=\"flex items-baseline\"><img src=\"";
  215.         // line 74
  216.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'74$this->source); })()), "html"nulltrue);
  217.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"Exercices corrigés\" class=\"w-4 sm:w-5 mr-1\">Exercices corrigés</li>
  218.               <li class=\"flex items-baseline\"><img src=\"";
  219.         // line 75
  220.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'75$this->source); })()), "html"nulltrue);
  221.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"Méthodologie\" class=\"w-4 sm:w-5 mr-1\">Méthodologie</li>
  222.               <li class=\"flex items-baseline\"><img src=\"";
  223.         // line 76
  224.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'76$this->source); })()), "html"nulltrue);
  225.         yield "/static/img/dashboard-free/coche-grenat.webp\" alt=\"Compte parent\" class=\"w-4 sm:w-5 mr-1\">Compte parent</li>
  226.             </ul>
  227.           </div>
  228.           <p class=\"text-lg sm:text-2xl text-bleu text-center font-bold mt-4\">
  229.             Inscrivez-vous gratuitement
  230.           </p>
  231.           <p class=\"text-lg sm:text-xl text-center\">
  232.             pour accéder à tous nos cours en ligne
  233.           </p>
  234.           <p class=\"flex text-lg sm:text-xl text-bleu font-bold\">
  235.             pendant 7 jours <img src=\"";
  236.         // line 86
  237.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'86$this->source); })()), "html"nulltrue);
  238.         yield "/static/img/dashboard-free/emphase-miel-dr.webp\" alt=\"Inscrivez-vous gratuitement\" class=\"w-[24px] mt-[12px]\">
  239.           </p>
  240.           <a href=\"";
  241.         // line 88
  242.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front"$context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.'88$this->source); })()), "html"nulltrue);
  243.         yield "/nos-offres/\" class=\"bg-miel hover:bg-grenat text-bleu hover:text-white text-lg sm:text-xl font-bold py-2 px-4 rounded-full transition-colors mt-4\">
  244.             Obtenir mon accès gratuit
  245.           </a>
  246.           <p class=\"text-base sm:text-xl mt-4\">Déjà un compte ?
  247.             <a href=\"";
  248.         // line 92
  249.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_login");
  250.         yield "\" class=\"text-bleu hover:text-grenat\">Je me connecte</a>
  251.           </p>
  252.         </div>
  253.       </div>
  254.     </div>
  255.   </div>
  256.   <div class=\"flex justify-center px-5 pt-[80px] md:pt-[110px] \">
  257.     <div class=\"text-[16px] w-[1160px]\">
  258.       <a href=\"https://www.lesbonsprofs.com/\" class=\"text-bleu\"><span class=\"text-[21px]\">⌂</span> Accueil</a> »
  259.       <a href=\"";
  260.         // line 102
  261.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front"$context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.'102$this->source); })()), "html"nulltrue);
  262.         yield "/nos-cours/";
  263.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'102$this->source); })()), "slug", [], "any"falsefalsefalse102), "html"nulltrue);
  264.         yield "\" class=\"text-bleu\">";
  265.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'102$this->source); })()), "title", [], "any"falsefalsefalse102)), "html"nulltrue);
  266.         yield "</a> » <a href=\"";
  267.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_front_dashboard_discipline", ["courseSlug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'102$this->source); })()), "notion", [], "any"falsefalsefalse102), "library", [], "any"falsefalsefalse102), "course", [], "any"falsefalsefalse102), "slug", [], "any"falsefalsefalse102), "disciplineSlug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'102$this->source); })()), "notion", [], "any"falsefalsefalse102), "library", [], "any"falsefalsefalse102), "discipline", [], "any"falsefalsefalse102), "slugLesson", [], "any"falsefalsefalse102)]), "html"nulltrue);
  268.         yield "\" class=\"text-bleu\">";
  269.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'102$this->source); })()), "notion", [], "any"falsefalsefalse102), "library", [], "any"falsefalsefalse102), "discipline", [], "any"falsefalsefalse102), "title", [], "any"falsefalsefalse102), "html"nulltrue);
  270.         yield "</a> » ";
  271.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["find"]) || array_key_exists("find"$context) ? $context["find"] : (function () { throw new RuntimeError('Variable "find" does not exist.'102$this->source); })()), "notion", [], "any"falsefalsefalse102), "title", [], "any"falsefalsefalse102), "html"nulltrue);
  272.         yield "
  273.     </div>
  274.   </div>
  275.   <!-- Bloc Contenu -->
  276.   <section class=\"flex justify-center px-5 pt-[20px]\">
  277.     <div class=\"flex flex-col md:flex-row w-[1160px] relative\">
  278.       <!-- Menu gauche -->
  279.       <aside id=\"menu-gauche\" class=\"w-full md:w-[275px] absolute bg-rose md:bg-inherit mb-5 md:mb-0\">
  280.         ";
  281.         // line 113
  282.         yield from $this->loadTemplate("dashboard_free/menu-gauche.html.twig""dashboard_free/lesson-video.html.twig"113)->unwrap()->yield($context);
  283.         // line 114
  284.         yield "
  285.         <div class=\"hidden md:flex flex-col justify-center text-center text-sm items-center border-2 border-miel rounded-lg gap-4 my-5 py-5\">
  286.           <img src=\"";
  287.         // line 116
  288.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'116$this->source); })()), "html"nulltrue);
  289.         yield "/static/img/dashboard-free/hibou-bons-profs.webp\" alt=\"Les bons profs - Cours gratuits\" class=\"w-20\" />
  290.           <p>
  291.             Envie de tester gratuitement nos vidéos de cours enrichies de jeux interactifs ?
  292.           </p>
  293.           <a href=\"#\" class=\"block bg-grenat hover:bg-bleu text-white py-2 px-4 rounded-full text-center transition-colors\">
  294.             J'essaie gratuitement
  295.           </a>
  296.           <p>Déjà un compte ? <a href=\"\" class=\"text-bleu hover:text-grenat\">Je me connecte</a> </p>
  297.         </div>
  298.       </aside>
  299.       <!-- Partie droite -->
  300.       <section class=\"md:ml-[300px] md:w-[calc(100%-275px)]\">
  301.         <div class=\"mb-4\">
  302.           <!-- En-têtes des onglets -->
  303.           <div class=\"flex gap-1\">
  304.             <button class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-white bg-lavande rounded-t-lg w-full\" data-tab=\"video\">
  305.               Vidéo
  306.             </button>
  307.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"fiche\">
  308.               Fiche
  309.             </button>
  310.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"qcm\">
  311.               QCM
  312.             </button>
  313.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"exercice\">
  314.               Exercice
  315.             </button>
  316.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"annale\">
  317.               Annale Bac
  318.             </button>
  319.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"carte\">
  320.               Carte mentale
  321.             </button>
  322.           </div>
  323.           <!-- Contenu des onglets -->
  324.           <div class=\"pt-4 md:p-4\">
  325.             <div id=\"video\" class=\"tab-panel text-justify\">
  326.               <h1 class=\"font-bold capitalize text-2xl my-3\">";
  327.         // line 158
  328.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'158$this->source); })()), "title", [], "any"falsefalsefalse158), "html"nulltrue);
  329.         yield "</h1>
  330.               ";
  331.         // line 160
  332.         yield "              <iframe class=\"w-full mb-4\" height=\"442\"
  333.                       src=\"https://www.youtube.com/embed/";
  334.         // line 161
  335.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'161$this->source); })()), "videoId", [], "any"falsefalsefalse161), "html"nulltrue);
  336.         yield "?controls=0\">
  337.               </iframe>
  338.               ";
  339.         // line 164
  340.         yield "              <iframe class=\"w-full mb-4\" id=\"description-video-iframe\"
  341.                       style=\"min-height: 200px\" scrolling=\"no\"
  342.                       src=\"";
  343.         // line 166
  344.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_dashboard_descripyion_video", ["videoSlug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["video"]) || array_key_exists("video"$context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.'166$this->source); })()), "slug", [], "any"falsefalsefalse166)]), "html"nulltrue);
  345.         yield "\"></iframe>
  346.           </div>
  347.         </div>
  348.         <div class=\"flex md:hidden justify-center\">
  349.           <div class=\"flex flex-col justify-center text-center text-sm items-center border-2 border-miel rounded-lg gap-4 my-5 py-5 w-[275px]\">
  350.             <img src=\"/static/img/dashboard-free/hibou-bons-profs.webp\" alt=\"Les bons profs - Cours gratuits\" class=\"w-20\" />
  351.             <p>
  352.               Envie de tester gratuitement nos vidéos de cours enrichies de jeux interactifs ?
  353.             </p>
  354.             <a href=\"#\" class=\"block bg-grenat hover:bg-bleu text-white py-2 px-4 rounded-full text-center transition-colors\">
  355.               J'essaie gratuitement
  356.             </a>
  357.             <p>Déjà un compte ? <a href=\"\" class=\"text-bleu hover:text-grenat\">Je me connecte</a> </p>
  358.           </div>
  359.         </div>
  360.       </section>
  361.     </div>
  362.   </section>
  363.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML-full\"></script>
  364.   <script type=\"text/x-mathjax-config\">
  365.     MathJax.Hub.Config({
  366.       extensions: [\"tex2jax.js\"],
  367.       jax: [\"input/TeX\", \"output/HTML-CSS\"],
  368.       tex2jax: {
  369.         inlineMath: [ ['\$','\$'], [\"\\\\(\",\"\\\\)\"] ],
  370.         displayMath: [ ['\$\$','\$\$'], [\"\\\\[\",\"\\\\]\"] ],
  371.         processEscapes: true
  372.       },
  373.       \"HTML-CSS\": { fonts: [\"TeX\"] }
  374.     });
  375.   </script>
  376.   <script type=\"text/javascript\">
  377.     document.addEventListener('DOMContentLoaded', function() {
  378.       // Fonction pour recevoir la hauteur depuis l'iframe
  379.       window.addEventListener('message', function(e) {
  380.         const iframe = document.getElementById('description-video-iframe');
  381.         if (iframe && e.data.type === 'setHeight') {
  382.           iframe.style.height = e.data.height + 'px';
  383.         }
  384.       });
  385.     });
  386.   </script>
  387. ";
  388.         
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  390.         
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392.         yield from [];
  393.     }
  394.     /**
  395.      * @codeCoverageIgnore
  396.      */
  397.     public function getTemplateName(): string
  398.     {
  399.         return "dashboard_free/lesson-video.html.twig";
  400.     }
  401.     /**
  402.      * @codeCoverageIgnore
  403.      */
  404.     public function isTraitable(): bool
  405.     {
  406.         return false;
  407.     }
  408.     /**
  409.      * @codeCoverageIgnore
  410.      */
  411.     public function getDebugInfo(): array
  412.     {
  413.         return array (  374 => 166,  370 => 164,  365 => 161,  362 => 160,  358 => 158,  313 => 116,  309 => 114,  307 => 113,  283 => 102,  270 => 92,  263 => 88,  258 => 86,  245 => 76,  241 => 75,  237 => 74,  231 => 71,  227 => 70,  223 => 69,  217 => 66,  196 => 47,  183 => 46,  159 => 33,  146 => 23,  142 => 22,  138 => 21,  133 => 19,  119 => 18,  115 => 17,  107 => 12,  103 => 11,  99 => 10,  93 => 8,  86 => 5,  82 => 4,  77 => 3,  64 => 2,  41 => 1,);
  414.     }
  415.     public function getSourceContext(): Source
  416.     {
  417.         return new Source("{% extends 'dashboard_free/layout.html.twig' %}
  418. {% block head %}
  419.   <meta name=\"description\" content=\"{{ video.metaDescription }}\" />
  420.   <title>{{ find.title }} - Les Bons Profs</title>
  421.   <link rel=\"canonical\" href=\"{{ base_url_front }}{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}\" />
  422.   <!--Tags Facebook-->
  423.   <meta property=\"og:url\"                content=\"{{ base_url_front }}{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}\" />
  424.   <meta property=\"og:type\"               content=\"website\" />
  425.   <meta property=\"og:title\"              content=\"{{ find.title }} - Les Bons Profs\" />
  426.   <meta property=\"og:description\"        content=\"{{ video.metaDescription }}\" />
  427.   <meta property=\"og:image\"              content=\"{{ base_url_front }}/static/img/dashboard-free/eleve-cours-gratuit.webp\" />
  428.   <script type=\"application/ld+json\">
  429.     {
  430.         \"@context\": \"https://schema.org\",
  431.               \"@type\": \"VideoObject\",
  432.               \"name\": \"{{ course.title|capitalize }}\",
  433.               \"description\": \"{% if find.metadescription is not null %}{{ find.metadescription }}{% else %}Cours de {% if find %}{{ find.notion.library.discipline.title }}{% endif %} pour {{ course.title }} : vidéos pédagogiques, exercices corrigés et méthodologie. Par Les Bons Profs.{% endif %}\",
  434.               \"thumbnailUrl\": \"https://img.youtube.com/vi/{{ video.videoId }}/maxresdefault.jpg\",
  435.               \"uploadDate\": \"2025-06-16\",
  436.               \"duration\": \"{{ video.durationYoutube }}\",
  437.               \"contentUrl\": \"https://www.youtube.com/embed/{{ video.videoId }}\",
  438.               \"embedUrl\": \"https://www.youtube.com/embed/{{ video.videoId }}\",
  439.               \"publisher\": {
  440.         \"@type\": \"Organization\",
  441.                 \"name\": \"Les Bons Profs\",
  442.                 \"logo\": {
  443.           \"@type\": \"ImageObject\",
  444.                   \"url\": \"https://lesbonsprofs.com/static/img/dashboard-free/les-bons-profs-logo.svg\"
  445.         }
  446.       },
  447.         \"teachingMode\": \"online\",
  448.               \"educationalLevel\": \"{{ course.title|capitalize }}\",
  449.               \"inLanguage\": \"fr\",
  450.               \"learningResourceType\": \"VideoLesson\",
  451.               \"isAccessibleForFree\": true,
  452.               \"offers\": {
  453.         \"@type\": \"Offer\",
  454.                 \"price\": \"0\",
  455.                 \"priceCurrency\": \"EUR\",
  456.                 \"availability\": \"https://schema.org/InStock\"
  457.       }
  458.     }
  459.   </script>
  460. {% endblock %}
  461. {% block content %}
  462.   <!-- Popup -->
  463.   <div x-cloak>
  464.     <!-- Fond noir transparent flouté -->
  465.     <div x-show=\"open\"
  466.          x-transition:enter=\"transition ease-out duration-300\"
  467.          x-transition:enter-start=\"opacity-0\"
  468.          x-transition:enter-end=\"opacity-100\"
  469.          x-transition:leave=\"transition ease-in duration-200\"
  470.          x-transition:leave-start=\"opacity-100\"
  471.          x-transition:leave-end=\"opacity-0\"
  472.          class=\"fixed inset-0 bg-black/50 backdrop-blur-sm z-40\"
  473.          @click=\"open = false\">
  474.       <!-- Contenu du popup -->
  475.       <div class=\"fixed inset-0 z-50 flex items-center justify-center\">
  476.         <div class=\"flex flex-col items-center bg-white border-8 border-miel rounded-lg p-4 sm:p-6 max-w-lg mx-4\" @click.stop>
  477.           <!-- Contenu à personnaliser -->
  478.           <p class=\"text-2xl text-bleu font-bold text-center mb-4\">Tous nos cours en ligne en accès gratuit</p>
  479.           <img src=\"{{ base_url }}/static/img/dashboard-free/hibou-popup1.webp\" alt=\"Tous nos cours en ligne en accès gratuit\" class=\"w-40 z-10\">
  480.           <div class=\"flex justify-between bg-miel text-bleu font-bold rounded-lg columns-2 w-full sm:w-[90%] p-4 sm:p-5 -mt-[14px]\">
  481.             <ul>
  482.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"Vidéos\" class=\"w-4 sm:w-5 mr-1\">Vidéos</li>
  483.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"Fiches\" class=\"w-4 sm:w-5 mr-1\">Fiches</li>
  484.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"QCM\" class=\"w-4 sm:w-5 mr-1\">QCM</li>
  485.             </ul>
  486.             <ul>
  487.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"Exercices corrigés\" class=\"w-4 sm:w-5 mr-1\">Exercices corrigés</li>
  488.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"Méthodologie\" class=\"w-4 sm:w-5 mr-1\">Méthodologie</li>
  489.               <li class=\"flex items-baseline\"><img src=\"{{ base_url }}/static/img/dashboard-free/coche-grenat.webp\" alt=\"Compte parent\" class=\"w-4 sm:w-5 mr-1\">Compte parent</li>
  490.             </ul>
  491.           </div>
  492.           <p class=\"text-lg sm:text-2xl text-bleu text-center font-bold mt-4\">
  493.             Inscrivez-vous gratuitement
  494.           </p>
  495.           <p class=\"text-lg sm:text-xl text-center\">
  496.             pour accéder à tous nos cours en ligne
  497.           </p>
  498.           <p class=\"flex text-lg sm:text-xl text-bleu font-bold\">
  499.             pendant 7 jours <img src=\"{{ base_url }}/static/img/dashboard-free/emphase-miel-dr.webp\" alt=\"Inscrivez-vous gratuitement\" class=\"w-[24px] mt-[12px]\">
  500.           </p>
  501.           <a href=\"{{ base_url_front }}/nos-offres/\" class=\"bg-miel hover:bg-grenat text-bleu hover:text-white text-lg sm:text-xl font-bold py-2 px-4 rounded-full transition-colors mt-4\">
  502.             Obtenir mon accès gratuit
  503.           </a>
  504.           <p class=\"text-base sm:text-xl mt-4\">Déjà un compte ?
  505.             <a href=\"{{ url(\"app_login\") }}\" class=\"text-bleu hover:text-grenat\">Je me connecte</a>
  506.           </p>
  507.         </div>
  508.       </div>
  509.     </div>
  510.   </div>
  511.   <div class=\"flex justify-center px-5 pt-[80px] md:pt-[110px] \">
  512.     <div class=\"text-[16px] w-[1160px]\">
  513.       <a href=\"https://www.lesbonsprofs.com/\" class=\"text-bleu\"><span class=\"text-[21px]\">⌂</span> Accueil</a> »
  514.       <a href=\"{{ base_url_front }}/nos-cours/{{ course.slug }}\" class=\"text-bleu\">{{ course.title|capitalize }}</a> » <a href=\"{{ path('app_front_dashboard_discipline',{'courseSlug':find.notion.library.course.slug,'disciplineSlug':find.notion.library.discipline.slugLesson}) }}\" class=\"text-bleu\">{{ find.notion.library.discipline.title }}</a> » {{ find.notion.title }}
  515.     </div>
  516.   </div>
  517.   <!-- Bloc Contenu -->
  518.   <section class=\"flex justify-center px-5 pt-[20px]\">
  519.     <div class=\"flex flex-col md:flex-row w-[1160px] relative\">
  520.       <!-- Menu gauche -->
  521.       <aside id=\"menu-gauche\" class=\"w-full md:w-[275px] absolute bg-rose md:bg-inherit mb-5 md:mb-0\">
  522.         {% include 'dashboard_free/menu-gauche.html.twig' %}
  523.         <div class=\"hidden md:flex flex-col justify-center text-center text-sm items-center border-2 border-miel rounded-lg gap-4 my-5 py-5\">
  524.           <img src=\"{{ base_url }}/static/img/dashboard-free/hibou-bons-profs.webp\" alt=\"Les bons profs - Cours gratuits\" class=\"w-20\" />
  525.           <p>
  526.             Envie de tester gratuitement nos vidéos de cours enrichies de jeux interactifs ?
  527.           </p>
  528.           <a href=\"#\" class=\"block bg-grenat hover:bg-bleu text-white py-2 px-4 rounded-full text-center transition-colors\">
  529.             J'essaie gratuitement
  530.           </a>
  531.           <p>Déjà un compte ? <a href=\"\" class=\"text-bleu hover:text-grenat\">Je me connecte</a> </p>
  532.         </div>
  533.       </aside>
  534.       <!-- Partie droite -->
  535.       <section class=\"md:ml-[300px] md:w-[calc(100%-275px)]\">
  536.         <div class=\"mb-4\">
  537.           <!-- En-têtes des onglets -->
  538.           <div class=\"flex gap-1\">
  539.             <button class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-white bg-lavande rounded-t-lg w-full\" data-tab=\"video\">
  540.               Vidéo
  541.             </button>
  542.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"fiche\">
  543.               Fiche
  544.             </button>
  545.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"qcm\">
  546.               QCM
  547.             </button>
  548.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"exercice\">
  549.               Exercice
  550.             </button>
  551.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"annale\">
  552.               Annale Bac
  553.             </button>
  554.             <button @click.prevent=\"open = true\" class=\"md:px-4 py-2 text-[3vw] sm:text-[2.5vw] md:text-sm font-bold text-lavande bg-lavandePastel hover:text-bleu rounded-t-lg w-full\" data-tab=\"carte\">
  555.               Carte mentale
  556.             </button>
  557.           </div>
  558.           <!-- Contenu des onglets -->
  559.           <div class=\"pt-4 md:p-4\">
  560.             <div id=\"video\" class=\"tab-panel text-justify\">
  561.               <h1 class=\"font-bold capitalize text-2xl my-3\">{{ video.title }}</h1>
  562.               {#<video controls class=\"w-full\"></video>#}
  563.               <iframe class=\"w-full mb-4\" height=\"442\"
  564.                       src=\"https://www.youtube.com/embed/{{ video.videoId }}?controls=0\">
  565.               </iframe>
  566.               {#<h2 class=\"font-bold text-xl my-3\">Sous-titre</h2>#}
  567.               <iframe class=\"w-full mb-4\" id=\"description-video-iframe\"
  568.                       style=\"min-height: 200px\" scrolling=\"no\"
  569.                       src=\"{{ url('app_front_dashboard_descripyion_video',{'videoSlug':video.slug}) }}\"></iframe>
  570.           </div>
  571.         </div>
  572.         <div class=\"flex md:hidden justify-center\">
  573.           <div class=\"flex flex-col justify-center text-center text-sm items-center border-2 border-miel rounded-lg gap-4 my-5 py-5 w-[275px]\">
  574.             <img src=\"/static/img/dashboard-free/hibou-bons-profs.webp\" alt=\"Les bons profs - Cours gratuits\" class=\"w-20\" />
  575.             <p>
  576.               Envie de tester gratuitement nos vidéos de cours enrichies de jeux interactifs ?
  577.             </p>
  578.             <a href=\"#\" class=\"block bg-grenat hover:bg-bleu text-white py-2 px-4 rounded-full text-center transition-colors\">
  579.               J'essaie gratuitement
  580.             </a>
  581.             <p>Déjà un compte ? <a href=\"\" class=\"text-bleu hover:text-grenat\">Je me connecte</a> </p>
  582.           </div>
  583.         </div>
  584.       </section>
  585.     </div>
  586.   </section>
  587.   <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML-full\"></script>
  588.   <script type=\"text/x-mathjax-config\">
  589.     MathJax.Hub.Config({
  590.       extensions: [\"tex2jax.js\"],
  591.       jax: [\"input/TeX\", \"output/HTML-CSS\"],
  592.       tex2jax: {
  593.         inlineMath: [ ['\$','\$'], [\"\\\\(\",\"\\\\)\"] ],
  594.         displayMath: [ ['\$\$','\$\$'], [\"\\\\[\",\"\\\\]\"] ],
  595.         processEscapes: true
  596.       },
  597.       \"HTML-CSS\": { fonts: [\"TeX\"] }
  598.     });
  599.   </script>
  600.   <script type=\"text/javascript\">
  601.     document.addEventListener('DOMContentLoaded', function() {
  602.       // Fonction pour recevoir la hauteur depuis l'iframe
  603.       window.addEventListener('message', function(e) {
  604.         const iframe = document.getElementById('description-video-iframe');
  605.         if (iframe && e.data.type === 'setHeight') {
  606.           iframe.style.height = e.data.height + 'px';
  607.         }
  608.       });
  609.     });
  610.   </script>
  611. {% endblock %}
  612. ""dashboard_free/lesson-video.html.twig""/var/www/dashboard/templates/dashboard_free/lesson-video.html.twig");
  613.     }
  614. }