{% if partenaires_top is defined and partenaires_top and video.partenaires is defined and video.partenaires %}
<section class="tc-header row">
<header class="tc-panel">
<div class="tc-desktop-1_1 tc-phone-1_1">
{% if profilepicture is defined and profilepicture %}
<figure class="tc-phone-1_1 tc-tablet-1_7">
<a href="/contacts/{{ contact.url_clean }}/videos">
<img class="tc-border-neutral" src="{{ profilepicture }}" alt="Logo du partenaire" />
</a>
</figure>
{% endif %}
<div class="tc-header row tc-phone-1_1 tc-tablet-6_7">
<p class="tc-subtitle">
En partenariat avec<br/>
{% for idcontact,contact in video.partenaires %}
<a href="/contacts/{{ contact.url_clean }}/videos/type/partenariat/">
{{ contact.organisation }}
</a>
{% if contact.nb_multimedias is defined and contact.nb_multimedias %}({{ contact.nb_multimedias }} vidéos associées){% endif %}
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
{% endfor %}
</p>
</div>
</div>
</header>
</section>
{% endif %}
<section class="tc-header row">
<header class="tc-panel">
<div class="tc-panel-header">
<h1>{{ video.sujet_titre }}</h1>
</div>
</header>
</section>
{% include 'includes/navigation.inc.html.twig' %}
<main class="tc-desktop-2_3 tc-phone-1_1">
<section class="tc-panel">
<div class="tc-panel-body">
{% if download_ok is defined and download_ok %}
<div class="tc-block tc-ajout-callout">
<div class="tc-block-body">
Le téléchargement de votre vidéo a démarré
</div>
</div>
{% endif %}
{% if erreur is defined and erreur %}
<div class="tc-block tc-alert-callout">
<div class="tc-block-body">
<div class="erreur_msg">
{% if erreur.etalab is defined and erreur.etalab %}
La vidéo n'est pas disponible en téléchargement car sans licence etalab
{% endif %}
{% if erreur.format is defined and erreur.format %}
La format n'est pas disponible en téléchargement
{% endif %}
{% if erreur.abonnement is defined and erreur.abonnement %}
Pour pouvoir télécharger la vidéo, il vous faut un compte abonné
{% endif %}
</div>
</div>
</div>
{% endif %}
<div class="tc-block">
<div class="tc-block-body tc-no-padding-mobile">
<div class="tc-video-16_9">
<iframe id="iframe_thtv" width="100%" height="415" src="/embed/{{ video.code }}?no_title&autostart&nopublish" allow="fullscreen"></iframe>
</div>
</div>
</div>
<div class="clearfix">
<div class="tc-block tc-tablet-1_2">
{% if video.etalab is defined and video.etalab %}
<a href="https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf" target="__blank">
<img src="{{ thnet }}/images/partenaires/etalab.png" width="100px" />
</a>
{% endif %}
</div>
<div class="tc-block tc-tablet-1_2">
<div class="tc-block-body tc-social">
Partager cette vidéo :
<ul>
<li><a target="_blank" title="Cliquez pour partager sur Facebook" href="http://www.facebook.com/sharer/sharer.php?u={{ video.permalink }}" class="tc-ext-link"><span class="tc-icon-facebook"></span>Facebook</a></li>
<li><a target="_blank" title="Cliquez pour partager sur Twitter" href="http://twitter.com/home?status='{{ video.sujet_titre }}' sur {{ video.permalink }} @thnet" via="thnet" rel="nofollow" class="tc-ext-link"><span class="tc-icon-twitter"></span>Twitter</a></li>
<li><a target="_blank" title="Cliquez pour partager par Email" href="mailto:?subject=Vidéo {{ video.sujet_titre }} &body=Bonjour %0D%0A%0D%0AEn lien une vidéo vue sur theatre-contemporain %0D%0A{{ video.permalink }}" class="tc-ext-link"><span class="tc-icon-mail"></span>Mail</a></li>
</ul>
</div>
</div>
</div>
<div class="tc-block tc-block-article">
<div class="tc-block-body tc-block-content-custom">
<p>{{ video.description_html|raw }}</p>
</div>
</div>
{% if video.spectacles is defined and video.spectacles and data_spectacles is defined and data_spectacles %}
<div class="tc-block tc-tablet-1_1">
<div class="tc-block-header">
<h3 class="tc-color-spectacles tc-format-uppercase">Plus d'information sur : "{{ data_spectacles.title }}"</h3>
</div>
<div class="tc-block-body">
<nav class="tc-subnav">
<ul>
{% if menu_spectacle is defined and menu_spectacle %}
{% for k,v in menu_spectacle %}
{% if v.submenu is defined and v.submenu %}
<li>
{% if v.name %}<a href="">{{ v.name|raw }}</a>
<ul>
{% for ksub,vsub in v.submenu %}
<li><a href="/spectacles/{{ data_spectacles.urlClean }}/{{ vsub.url }}/" >{{ vsub.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{% else %}
{% if v.name is defined and v.name %}
{% if v.active is not defined or (v.active is defined and not v.active) %}
<li>
{% if v.url is defined and v.url %}
<a href="/spectacles/{{ data_spectacles.urlClean }}/{{ v.url }}/">{{ v.name|raw }}</a>
{% else %}
<a href="/spectacles/{{ data_spectacles.urlClean }}/">{{ v.name|raw }}</a>
{% endif %}
</li>
{% else %}
<li class="tc-item-on">
<a href="/spectacles/{{ data_spectacles.urlClean }}/{{ v.url }}">{{ v.name|raw }}</a>
</li>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
</ul>
</nav>
</div>
</div>
{% endif %}
<div class="tc-tablet-1_1">
{% include 'video/video-details.inc.html.twig' %}
</div>
</div>
</section>
</main>
{% if show_aside_etape_fin is defined and show_aside_etape_fin %}
<aside class="tc-desktop-1_3 tc-phone-1_1" id="tc-aside">
<section class="tc-panel tc-bgcolor-context tc-desktop-1_1 tc-phone-1_1">
<div class="tc-panel-header">
<h2>Mes contributions</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
<ul>
<li><a href="/montheatre/messpectacles">Mes spectacles</a></li>
<li><a href="/montheatre/mesvideos">Mes vidéos</a></li>
</ul>
</div>
</div>
</div>
</section>
</aside>
{% endif %}