<div class="tc-block tc-tablet-1_2">
<div class="tc-block-header">
<h2 class="tc-title-medium">Détail de la vidéo</h2>
</div>
<div class="tc-block-body">
<ul class="tc-clean-list">
{% if video.langue is defined and video.langue %}
<li><span class="tc-text-label-inline">Langue : </span> {{ video.langue }}</li>
{% endif %}
{% if video.duree_site_sec is defined and video.duree_site_sec and video.duree_site_sec_human is defined and video.duree_site_sec_human %}
<li><span class="tc-text-label-inline">Durée : </span> {{ video.duree_site_sec_human }}</li>
{% endif %}
{% if video.lieu is defined and video.lieu %}
<li><span class="tc-text-label-inline">Lieu : </span> {{ video.lieu }}</li>
{% endif %}
{% if video.particip_comed is defined and video.particip_comed %}
<li><span class="tc-text-label-inline">Participants/comédiens : </span> {{ video.particip_comed }}</li>
{% endif %}
{% if video.copyright is defined and video.copyright %}
<li><span class="tc-text-label-inline">Copyright : </span> {{ video.copyright }}</li>
{% endif %}
{% if video.dateinsert is defined and video.dateinsert %}
<li><span class="tc-text-label-inline">Ajoutée le</span> {{ video.dateinsert|date('d/m/Y') }}</li>
{% endif %}
{% if video.typemultimedia is defined and video.typemultimedia %}
<li>
<span class="tc-text-label-inline">Type : </span>{{ video.typemultimedia }}
<span class="tc-text-label-inline">
<small>
{% if video.onlySound is defined and video.onlySound %}
(document sonore)
{% else %}
(document vidéo)
{% endif %}
</small>
</span>
</li>
{% endif %}
{% if is_contact_user is defined and is_contact_user %}
<li><span class="tc-text-label-inline">Nombre de vue(s) : </span> {{ video.count_view }} vue(s)</li>
<li><span class="tc-text-label-inline">ID vidéo : </span> {{ video.idmultimedia }}</li>
{% endif %}
</ul>
</div>
</div>
{% if no_apropos is not defined or (no_apropos is defined and not no_apropos) %}
<div class="tc-block tc-tablet-1_2">
<div class="tc-block-header">
<h2 class="tc-title-medium" >À propos de...</h2>
</div>
<div class="tc-block-body">
<ul class="tc-clean-list">
{% if video.spectacles is defined and video.spectacles %}
<li class="tc-textwrap-titre tc-spectacles-tpl-a">
<span class="tc-text-label-inline">Spectacle(s) : </span>
{% for idspectacle,spectacle in video.spectacles %}
<span>
<a class="tc-titre" href="/spectacles/{{ spectacle.url_clean }}">{{ spectacle.title }}</a>{% if spectacle.nopunct is not defined or (spectacle.nopunct is defined and not spectacle.nopunct) %}, {% endif %}
</span>
{% endfor %}
</li>
{% endif %}
{% if video.authors is defined and video.authors %}
<li class="tc-textwrap-auteur">
<span class="tc-text-label-inline">Auteur(s) : </span>
{% for idperson,author in video.authors %}
<span>
<a href="/biographies/{{ author.url_clean }}">{{ author.firstname }} {{ author.lastname }}</a>{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
</span>
{% endfor %}
</li>
{% endif %}
{% if video.directors is defined and video.directors %}
<li class="tc-textwrap-auteur">
<span class="tc-text-label-inline">Metteur(s) en scène : </span>
{% for idperson,director in video.directors %}
<span>
<a href="/biographies/{{ director.url_clean }}">{{ director.firstname }} {{ director.lastname }}</a>{% if director.nopunct is not defined or (director.nopunct is defined and not director.nopunct) %}, {% endif %}
</span>
{% endfor %}
</li>
{% endif %}
{% if video.actors is defined and video.actors %}
<li class="tc-textwrap-auteur">
<span class="tc-text-label-inline">Acteur(s) : </span>
{% for idperson,actor in video.actors %}
<span>
<a href="/biographies/{{ actor.url_clean }}">{{ actor.firstname }} {{ actor.lastname }}</a>{% if actor.nopunct is not defined or (actor.nopunct is defined and not actor.nopunct) %}, {% endif %}
</span>
{% endfor %}
</li>
{% endif %}
{% if video.intervenants is defined and video.intervenants %}
<li class="tc-textwrap-auteur">
<span class="tc-text-label-inline">Intervenant(s) : </span>
{% for idperson,person in video.intervenants %}
<span>
<a href="/biographies/{{ person.url_clean }}">{{ person.firstname }} {{ person.lastname }}</a>{% if person.nopunct is not defined or (person.nopunct is defined and not person.nopunct) %}, {% endif %}
</span>
{% endfor %}
</li>
{% endif %}
{% if video.texts is defined and video.texts %}
<li class="tc-textwrap-titre tc-editions-tpl-a">
<span class="tc-text-label-inline">Texte(s) : </span>
{% for idtext,text in video.texts %}
<span>
{% if text.textfictif is defined and text.textfictif %}
<a class="tc-titre" href="/textes/{{ text.url_clean }}/">{{ text.title }}</a>{% if text.nopunct is not defined or (text.nopunct is defined and not text.nopunct) %}, {% endif %}
{% endif %}
</span>
{% endfor %}
</li>
{% endif %}
</ul>
</div>
</div>
{% endif %}
<div class="tc-tablet-1_1">
{% if no_partage_link is not defined or (no_partage_link is defined and not no_partage_link) %}
<div class="tc-center">
{% if video.share is defined and video.share %}
{% if video.embed is defined and video.embed %}
<a style="margin:1em" class="tc-button tc-bgcolor-context tc-icon-code" data-name="code" rel="integrer_link">Intégrer</a>
{% endif %}
<a style="margin:1em" class="tc-button tc-bgcolor-context tc-icon-permalink" data-name="perma" rel="permanent_link">Permalien</a>
{% endif %}
{% if video.etalab is defined and video.etalab %}
<a style="margin:1em" class="tc-button tc-bgcolor-context tc-icon-download" data-name="qr">Téléchargement</a>
{% endif %}
{% if video.my_video is defined and video.my_video %}
<a style="margin:1em" class="tc-button-theatre tc-border-index tc-icon-edit " href="/ajoutvideo/propose-video-etape3/id/{{ video.idmultimedia }}/edit/true">Modifier</a>
{% endif %}
</div>
{% if video.embed is defined and video.embed %}
<div class="tc-block tc-tablet-1_1 tc-hidden-content tc-code hidden-content">
<div class="tc-block-header">
<h3>Copiez/collez ce code</h3>
</div>
<div class="tc-block-body">
<textarea name="integrer_field" id="integrer_field" cols="6" rows="3" readonly>{{ video.embed }}</textarea>
</div>
<div class="tc-block-header">
<h3>Copiez/collez ce code (responsive)</h3>
</div>
<div class="tc-block-body">
<textarea name="integrer_field" id="integrer_field" cols="6" rows="3" readonly>{{ video.embeddiv }}</textarea>
</div>
<div class="tc-block-header">
<h3>Lien direct vers le media</h3>
</div>
<div class="tc-block-body">
<input type="text" name="direct_media" id="direct_media" size="45" value="{{ thnet }}/embed/{{ video.code }}" readonly="readonly" />
</div>
</div>
<div class="tc-block tc-tablet-1_1 tc-hidden-content hidden-content tc-perma">
<div class="tc-block-header">
<h3>Lien permanent vers cette page/vidéo</h3>
</div>
<div class="tc-block-body">
<input type="text" name="permanent_field" id="permanent_field" readonly="readonly" value="{{ thnet }}/video/{{ video.url_clean }}" />
</div>
</div>
{% endif %}
{% if video.etalab is defined and video.etalab %}
<div class="tc-block tc-tablet-1_1 tc-hidden-content hidden-content tc-qr tc-block-article">
<div class="tc-block-body tc-block-content-custom">
{% if abonnement is defined and abonnement %}
Ce fichier est disponible sous licence <a href="https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf" target="__blank">Etalab</a>.
<div>
<h3>Résumé des droits accordé </h3>
{% include 'video/etalablicence.inc.html.twig' %}
<h3>
Téléchargement:
</h3>
<table class="tc-center">
{% for key_video,data_video in video.formats_download %}
{% if data_video.download is defined and data_video.download %}
<tr>
<td>
{{ data_video.labelname }}
</td>
<td>
{% if data_video.mediawidth is defined and data_video.mediawidth %}
{{ data_video.mediawidth }} x {{ data_video.mediaheight }}
{% else %}
résolution indisponible
{% endif %}
/
{% if data_video.sizefile is defined %}
{{ data_video.sizefile }}
{% else %}
poids indisponible
{% endif %}
</td>
<td>
<a href="/video/{{ video.url_clean }}/download/format/{{ data_video.labelname }}">
Télécharger
</a>
</td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
<h3>
Informations à indiquer pour toutes utilisations :
</h3>
<p>
Origine : theatre-contemporain.net
{% for idcontact,contact in video.partenaires %}
- {{ contact.organisation }}
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
{% endfor %}<br/>
{% if video.dateupdate is defined and video.dateupdate %}
Dernière mise à jour : {{ video.dateupdate }}<br/>
{% endif %}
Lien : <br/>
<input type="text" value="{{ thnet }}/video/{{ video.url_clean }}">
</p>
<p>
<span class="tc-bold">Par exemple :</span><br/>
Données originales téléchargées sur <a href="{{ thnet }}/video/{{ video.url_clean }}">theatre-contemporain.net</a> en partenariat avec
{% for idcontact,contact in video.partenaires %}
{{ contact.organisation }}
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
{% endfor %},
{% if video.dateupdate is defined and video.dateupdate %}
mises à jour le {{ video.dateupdate }}<br/>
{% endif %}
<span class="tc-text-label-inline">Le lien sur theatre-contemporain doit être l'adresse complète du fichier précisée ci-dessus.</span>
</p>
<p>
<span class="tc-bold">Autre exemple :</span><br/>
Origine : theatre-contemporain.net en partenariat avec
{% for idcontact,contact in video.partenaires %}
{{ contact.organisation }}
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
{% endfor %},
(<a href="({{ thnet }}/video/{{ video.url_clean }})">{{ thnet }}/video/{{ video.url_clean }}</a>)
{% if video.dateupdate is defined and video.dateupdate %}
, {{ video.dateupdate }}
{% endif %}
<br/>
</p>
{% else %}
<p>
Le téléchargement est une fonctionnalité réservée aux abonnés –
<a href="/montheatre/connexion?urifrom=/video/{{ video.url_clean }}">
Je me connecte
</a>
–
<a href="/abonnements">
Je m'abonne
</a>
</p>
{% endif %}
</div>
</div>
{% endif %}
{% endif %}
</div>
<script type="text/javascript">
$('.tc-icon-code, .tc-icon-permalink, .tc-icon-download').click(function(e){
$('.tc-hidden-content:not(.tc-'+$(this).data('name')+')').css('display', 'none');
$('.tc-'+$(this).data('name')).slideToggle();
});
</script>