<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* blog/show.html.twig */
class __TwigTemplate_a339202d76bb5a4546cb67e4f415046a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column_center' => [$this, 'block_column_center'],
'column_right' => [$this, 'block_column_right'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout/layout-right-columns.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/show.html.twig"));
// line 3
if (twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 3, $this->source); })()), "videoPoster", [], "any", false, false, false, 3))) {
// line 4
$context["video_poster"] = "/build/images/poster_default.png";
} else {
// line 6
$context["video_poster"] = ("/uploads/videos/poster/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 6, $this->source); })()), "videoPoster", [], "any", false, false, false, 6), "src", [], "any", false, false, false, 6));
}
// line 1
$this->parent = $this->loadTemplate("layout/layout-right-columns.html.twig", "blog/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_column_center($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column_center"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column_center"));
// line 10
echo "
\t<section class=\"mn-sec\">
\t\t<div class=\"mn-vid-sc single_video\">
\t\t\t<div class=\"vid-1\">
\t\t\t\t<div class=\"vid-pr\">
\t\t\t\t\t<video id=\"my-video\" class=\"video-js\" controls preload=\"auto\" width=\"640\" height=\"264\" poster=\"";
// line 15
echo twig_escape_filter($this->env, (isset($context["video_poster"]) || array_key_exists("video_poster", $context) ? $context["video_poster"] : (function () { throw new RuntimeError('Variable "video_poster" does not exist.', 15, $this->source); })()), "html", null, true);
echo "\" data-setup=\"{}\">
\t\t\t\t\t\t<source src=\"/uploads/videos/";
// line 16
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 16, $this->source); })()), "video", [], "any", false, false, false, 16), "src", [], "any", false, false, false, 16), "html", null, true);
echo "\" type=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 16, $this->source); })()), "video", [], "any", false, false, false, 16), "mime", [], "any", false, false, false, 16), "html", null, true);
echo "\"/>
\t\t\t\t\t</video>
\t\t\t\t</div>
\t\t\t\t<!--vid-pr end-->
\t\t\t\t<div class=\"vid-info\">
\t\t\t\t\t<h3>";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 21, $this->source); })()), "video", [], "any", false, false, false, 21), "title", [], "any", false, false, false, 21), "html", null, true);
echo "</h3>
\t\t\t\t</div>
\t\t\t\t<!--vid-info end-->
\t\t\t</div>
\t\t\t<!--vid-1 end-->
\t\t\t<div class=\"abt-mk\">
\t\t\t\t<div class=\"info-pr-sec\">
\t\t\t\t\t<div class=\"vcp_inf cr\">
\t\t\t\t\t\t<div class=\"vc_info pr\">
\t\t\t\t\t\t\t<span>Publié le :
\t\t\t\t\t\t\t\t";
// line 31
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 31, $this->source); })()), "createdAt", [], "any", false, false, false, 31), twig_get_attribute($this->env, $this->source, (isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 31, $this->source); })()), "dateFormat", [], "any", false, false, false, 31)), "html", null, true);
echo "</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--vcp_inf end
\t\t\t\t\t<ul class=\"df-list\">
\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t<button data-toggle=\"tooltip\" data-placement=\"top\" title=\"Share\">
\t\t\t\t\t\t\t\t<i class=\"icon-share\"></i>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\tdf-list end-->
\t\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t</div>
\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t<div class=\"about-ch-sec\">
\t\t\t\t\t<div class=\"abt-rw\">
\t\t\t\t\t\t<h4>Catégorie :
\t\t\t\t\t\t</h4>
\t\t\t\t\t\t<p>";
// line 50
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 50, $this->source); })()), "category", [], "any", false, false, false, 50), "title", [], "any", false, false, false, 50), "html", null, true);
echo "</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"abt-rw\">
\t\t\t\t\t\t<h4>Description :
\t\t\t\t\t\t</h4>
\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t";
// line 56
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 56, $this->source); })()), "video", [], "any", false, false, false, 56), "description", [], "any", false, false, false, 56);
echo "
\t\t\t\t\t\t</p>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 59
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 59, $this->source); })()), "tags", [], "any", false, false, false, 59))) {
// line 60
echo "\t\t\t\t\t\t<div class=\"abt-rw tgs\">
\t\t\t\t\t\t\t<h4>Tags :
\t\t\t\t\t\t\t</h4>
\t\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t\t";
// line 64
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 64, $this->source); })()), "tags", [], "any", false, false, false, 64));
foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
// line 65
echo "\t\t\t\t\t\t\t\t\t<span class=\"tag badge bg-info\">#";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 65), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo "\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 70
echo "\t\t\t\t</div>
\t\t\t\t<!--about-ch-sec end-->
\t\t\t</div>
\t\t\t<!--abt-mk end-->
\t\t\t";
// line 74
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 74, $this->source); })()), "videoMarkers", [], "any", false, false, false, 74), "count", [], "any", false, false, false, 74)) {
// line 75
echo "\t\t\t\t<div class=\"amazon\">
\t\t\t\t\t<div class=\"abt-amz\">
\t\t\t\t\t\t<div class=\"amz-hd\">
\t\t\t\t\t\t\t<h2>Documents relatifs</h2>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--amz-hd end-->
\t\t\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--abt-amz end-->
\t\t\t\t\t<div class=\"amz-img-inf\">
\t\t\t\t\t\t<div id=\"videoMarker-list\" class=\"row\">
\t\t\t\t\t\t\t";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 86, $this->source); })()), "videoMarkers", [], "any", false, false, false, 86));
foreach ($context['_seq'] as $context["_key"] => $context["videoMarker"]) {
// line 87
echo "\t\t\t\t\t\t\t\t<div class=\"col-lg-3 col-md-3 col-sm-6 col-6 full_wdth\">
\t\t\t\t\t\t\t\t\t<div id=\"videoMarker-";
// line 88
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["videoMarker"], "id", [], "any", false, false, false, 88), "html", null, true);
echo "\" class=\"videoMarker-item\" data-timecode=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["videoMarker"], "timecode", [], "any", false, false, false, 88), "html", null, true);
echo "\" data-duration=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["videoMarker"], "duration", [], "any", false, false, false, 88), "html", null, true);
echo "\" data-title=\" ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["videoMarker"], "title", [], "any", false, false, false, 88), "html", null, true);
echo " \">
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t";
// line 90
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["videoMarker"], "attachments", [], "any", false, false, false, 90));
foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
// line 91
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (twig_in_filter("vnd.openxmlformats", twig_get_attribute($this->env, $this->source, $context["attachment"], "mime", [], "any", false, false, false, 91))) {
// line 92
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["icon"] = "word.jpg";
// line 93
echo "\t\t\t\t\t\t\t\t\t\t\t";
} elseif (twig_in_filter("pdf", twig_get_attribute($this->env, $this->source, $context["attachment"], "mime", [], "any", false, false, false, 93))) {
// line 94
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["icon"] = "pdf.png";
// line 95
echo "\t\t\t\t\t\t\t\t\t\t\t";
} elseif (twig_in_filter("vnd.ms-excel", twig_get_attribute($this->env, $this->source, $context["attachment"], "mime", [], "any", false, false, false, 95))) {
// line 96
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["icon"] = "excel.jpg";
// line 97
echo "\t\t\t\t\t\t\t\t\t\t\t";
} elseif (twig_in_filter("vnd.ms-powerpoint", twig_get_attribute($this->env, $this->source, $context["attachment"], "mime", [], "any", false, false, false, 97))) {
// line 98
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["icon"] = "powerpoint.jpg";
// line 99
echo "\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 100
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["icon"] = "txt.png";
// line 101
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 102
echo "
\t\t\t\t\t\t\t\t\t\t\t<div class=\"mg-inf\">
\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"document-";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "id", [], "any", false, false, false, 104), "html", null, true);
echo "\" class=\"document\" data-media-src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "src", [], "any", false, false, false, 104), "html", null, true);
echo "\" data-media-icon=\"";
echo twig_escape_filter($this->env, (isset($context["icon"]) || array_key_exists("icon", $context) ? $context["icon"] : (function () { throw new RuntimeError('Variable "icon" does not exist.', 104, $this->source); })()), "html", null, true);
echo "\" data-media-title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "title", [], "any", false, false, false, 104), "html", null, true);
echo "\" data-media-description=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "description", [], "any", false, false, false, 104), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"img-sr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/";
// line 106
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "src", [], "any", false, false, false, 106), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "title", [], "any", false, false, false, 106), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
// line 108
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("build/images/photos/" . (isset($context["icon"]) || array_key_exists("icon", $context) ? $context["icon"] : (function () { throw new RuntimeError('Variable "icon" does not exist.', 108, $this->source); })()))), "html", null, true);
echo "\" alt=\"\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"info-sr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/";
// line 113
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "src", [], "any", false, false, false, 113), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "title", [], "any", false, false, false, 113), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "title", [], "any", false, false, false, 113), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"document-timecode\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 116
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtention']->timecodeConverter(twig_get_attribute($this->env, $this->source, $context["videoMarker"], "timecode", [], "any", false, false, false, 116)), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 123
echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--mg-inf end-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['videoMarker'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 128
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--amz-img-in-->
\t\t\t\t</div>
\t\t\t";
}
// line 134
echo "\t\t\t<!--amazon end-->
\t\t</div>
\t</section>
\t<!--mn-sec end-->
\t";
// line 138
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("videojs");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 141
public function block_column_right($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column_right"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column_right"));
// line 142
echo "\t<div class=\"sidebar\">
\t\t";
// line 144
$this->loadTemplate("blog/_video_associated.html.twig", "blog/show.html.twig", 144)->display(twig_array_merge($context, (isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 144, $this->source); })())));
// line 145
echo "\t\t<!--videoo-list-ab end-->
\t</div>
\t<!--side-bar end-->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "blog/show.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 358 => 145, 356 => 144, 352 => 142, 342 => 141, 330 => 138, 324 => 134, 316 => 128, 306 => 123, 293 => 116, 283 => 113, 275 => 108, 268 => 106, 255 => 104, 251 => 102, 248 => 101, 245 => 100, 242 => 99, 239 => 98, 236 => 97, 233 => 96, 230 => 95, 227 => 94, 224 => 93, 221 => 92, 218 => 91, 214 => 90, 203 => 88, 200 => 87, 196 => 86, 183 => 75, 181 => 74, 175 => 70, 170 => 67, 161 => 65, 157 => 64, 151 => 60, 149 => 59, 143 => 56, 134 => 50, 112 => 31, 99 => 21, 89 => 16, 85 => 15, 78 => 10, 68 => 9, 57 => 1, 54 => 6, 51 => 4, 49 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout/layout-right-columns.html.twig' %}
{% if article.videoPoster is empty %}
\t{% set video_poster = '/build/images/poster_default.png' %}
{% else %}
\t{% set video_poster = '/uploads/videos/poster/' ~ article.videoPoster.src %}
{% endif %}
{% block column_center %}
\t<section class=\"mn-sec\">
\t\t<div class=\"mn-vid-sc single_video\">
\t\t\t<div class=\"vid-1\">
\t\t\t\t<div class=\"vid-pr\">
\t\t\t\t\t<video id=\"my-video\" class=\"video-js\" controls preload=\"auto\" width=\"640\" height=\"264\" poster=\"{{ video_poster }}\" data-setup=\"{}\">
\t\t\t\t\t\t<source src=\"/uploads/videos/{{ article.video.src }}\" type=\"{{ article.video.mime }}\"/>
\t\t\t\t\t</video>
\t\t\t\t</div>
\t\t\t\t<!--vid-pr end-->
\t\t\t\t<div class=\"vid-info\">
\t\t\t\t\t<h3>{{ article.video.title }}</h3>
\t\t\t\t</div>
\t\t\t\t<!--vid-info end-->
\t\t\t</div>
\t\t\t<!--vid-1 end-->
\t\t\t<div class=\"abt-mk\">
\t\t\t\t<div class=\"info-pr-sec\">
\t\t\t\t\t<div class=\"vcp_inf cr\">
\t\t\t\t\t\t<div class=\"vc_info pr\">
\t\t\t\t\t\t\t<span>Publié le :
\t\t\t\t\t\t\t\t{{ article.createdAt|date(config.dateFormat) }}</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--vcp_inf end
\t\t\t\t\t<ul class=\"df-list\">
\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t<button data-toggle=\"tooltip\" data-placement=\"top\" title=\"Share\">
\t\t\t\t\t\t\t\t<i class=\"icon-share\"></i>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t\tdf-list end-->
\t\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t</div>
\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t<div class=\"about-ch-sec\">
\t\t\t\t\t<div class=\"abt-rw\">
\t\t\t\t\t\t<h4>Catégorie :
\t\t\t\t\t\t</h4>
\t\t\t\t\t\t<p>{{ article.category.title }}</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"abt-rw\">
\t\t\t\t\t\t<h4>Description :
\t\t\t\t\t\t</h4>
\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t{{ article.video.description|raw }}
\t\t\t\t\t\t</p>
\t\t\t\t\t</div>
\t\t\t\t\t{% if article.tags is not empty %}
\t\t\t\t\t\t<div class=\"abt-rw tgs\">
\t\t\t\t\t\t\t<h4>Tags :
\t\t\t\t\t\t\t</h4>
\t\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t\t{% for tag in article.tags %}
\t\t\t\t\t\t\t\t\t<span class=\"tag badge bg-info\">#{{ tag.name }}</span>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<!--about-ch-sec end-->
\t\t\t</div>
\t\t\t<!--abt-mk end-->
\t\t\t{% if article.videoMarkers.count %}
\t\t\t\t<div class=\"amazon\">
\t\t\t\t\t<div class=\"abt-amz\">
\t\t\t\t\t\t<div class=\"amz-hd\">
\t\t\t\t\t\t\t<h2>Documents relatifs</h2>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--amz-hd end-->
\t\t\t\t\t\t<div class=\"clearfix\"></div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--abt-amz end-->
\t\t\t\t\t<div class=\"amz-img-inf\">
\t\t\t\t\t\t<div id=\"videoMarker-list\" class=\"row\">
\t\t\t\t\t\t\t{% for videoMarker in article.videoMarkers %}
\t\t\t\t\t\t\t\t<div class=\"col-lg-3 col-md-3 col-sm-6 col-6 full_wdth\">
\t\t\t\t\t\t\t\t\t<div id=\"videoMarker-{{ videoMarker.id }}\" class=\"videoMarker-item\" data-timecode=\"{{ videoMarker.timecode }}\" data-duration=\"{{ videoMarker.duration }}\" data-title=\" {{ videoMarker.title }} \">
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t{% for attachment in videoMarker.attachments %}
\t\t\t\t\t\t\t\t\t\t\t{% if 'vnd.openxmlformats' in attachment.mime %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'word.jpg' %}
\t\t\t\t\t\t\t\t\t\t\t{% elseif 'pdf' in attachment.mime %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'pdf.png' %}
\t\t\t\t\t\t\t\t\t\t\t{% elseif 'vnd.ms-excel' in attachment.mime %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'excel.jpg' %}
\t\t\t\t\t\t\t\t\t\t\t{% elseif 'vnd.ms-powerpoint' in attachment.mime %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'powerpoint.jpg'%}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'txt.png' %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"mg-inf\">
\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"document-{{ attachment.id }}\" class=\"document\" data-media-src=\"{{ attachment.src }}\" data-media-icon=\"{{ icon }}\" data-media-title=\"{{ attachment.title }}\" data-media-description=\"{{ attachment.description }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"img-sr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/{{ attachment.src }}\" title=\"{{ attachment.title }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('build/images/photos/' ~ icon) }}\" alt=\"\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"info-sr\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/{{ attachment.src }}\" title=\"{{ attachment.title }}\">{{ attachment.title }}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"document-timecode\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ videoMarker.timecode|timecode }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--mg-inf end-->
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!--amz-img-in-->
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<!--amazon end-->
\t\t</div>
\t</section>
\t<!--mn-sec end-->
\t{{ encore_entry_script_tags('videojs') }}
{% endblock %}
{% block column_right %}
\t<div class=\"sidebar\">
\t\t{% include \"blog/_video_associated.html.twig\" with articles %}
\t\t<!--videoo-list-ab end-->
\t</div>
\t<!--side-bar end-->
{% endblock %}
", "blog/show.html.twig", "/home/clients/750cffd053f851181de79c86d51438f1/sites/Cirad.dev-djaka.fr/templates/blog/show.html.twig");
}
}