templates/front/multimedia/video.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Multimédia | vidéo | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block meta_description %}
  4. <meta name="description" content="Découvrez les témoignages vidéo des participants de CIMEF International : retours d'expérience sur nos formations professionnelles et leur impact sur la carrière."/>
  5. <meta property="og:image" content="https://cimef-international.org/public/inter/LOGO CIMEF.jpg.jpeg">
  6. <meta property="og:url" content="https://cimef-international.org/mediatheque/video">
  7. <meta property="og:type" content="website">
  8. {% endblock %}
  9. {% block styleSheets %}
  10. <style id='wp-emoji-styles-inline-css' type='text/css'>
  11. .video-wrapper {
  12.     margin-top: 50px;
  13.     position: relative;
  14.     padding-bottom: 56.25%; /* 16:9 */
  15.     height: 0;
  16.     border-top-left-radius: 10px;
  17.     border-top-right-radius: 10px;
  18.     overflow: hidden;
  19.     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
  20.                                0 6px 20px 0 rgba(0, 0, 0, 0.19);
  21. }
  22. .video-wrapper iframe {
  23.     position: absolute;
  24.     top: 0;
  25.     left: 0;
  26.     width: 100%;
  27.     height: 100%;
  28.     border: 0;
  29.     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
  30.                                0 6px 20px 0 rgba(0, 0, 0, 0.19);
  31. }
  32. .search_archive_event{
  33.     border: 1px solid white !important;
  34. }
  35. .form-control{
  36.     width:95%;
  37.     height: auto;
  38.     padding:10px;
  39.     border-radius:1px !important;
  40.     font-family: arial;
  41.     margin: 10px;
  42.     border:1px solid #ccc;
  43. }
  44. .shadow{
  45.     box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
  46. }
  47. .row {
  48.     display: flex;            /* flexbox pour aligner les colonnes */
  49.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  50.     margin-right: -0.75rem;   /* -gutter/2 */
  51.     margin-left: -0.75rem;    /* -gutter/2 */
  52. }
  53. .events_pagination ul.pagination {
  54.     display: flex;
  55.     flex-wrap: wrap;
  56.     justify-content: center;
  57.     list-style: none;
  58.     margin: 0;
  59.     padding: 0;
  60. }
  61. .page-item.active .page-link {
  62.     background-color: #ff6600;
  63.     color: #fff;
  64. }
  65. .page-link {
  66.     margin: 10px;
  67.     color: #051a53;
  68.     background-color: #ededed;
  69.     border-radius: 5px;
  70.     padding: 10px;
  71.     /* margin: 0 3px; */
  72. }
  73. .text-lien{
  74.    color: #ff6600;
  75.    /* font-size: 16px; */
  76. }
  77. /* Small devices ≥576px */
  78. @media (min-width: 576px) {
  79.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  80.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  81.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  82.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  83. }
  84. /* Medium devices ≥768px */
  85. @media (min-width: 768px) {
  86.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  87.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  88.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  89.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  90. }
  91. /* Large devices ≥992px */
  92. @media (min-width: 992px) {
  93.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  94.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  95.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  96.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  97. }
  98. .type1 .date-event {
  99.     transition: all 0.5s ease;
  100.     position: absolute;
  101.     bottom: 20px;
  102.     left: 30px;
  103.     z-index: 1;
  104.     font-size: 12px;
  105.     color: #fff;
  106.     font-weight: 700;
  107.     text-transform: uppercase;
  108.     text-align: center;
  109.     line-height: 1.3;
  110.     letter-spacing: 1px;
  111.     background-color: #ff6600 !important;
  112.     padding: 12px;
  113. }
  114. .icon_event{
  115.     color: #ff6600 !important;
  116. }
  117. .btn-rechercher{
  118.     margin-left: 10px !important;
  119. }
  120. .wrap_header_banner .overlay-slider {
  121.     position: absolute;
  122.     top: 0;
  123.     left: 0;
  124.     padding-top: 30px; 
  125.     width: 100%;
  126.     height: 100%;
  127.     background-color: rgba(0, 0, 0, 0.6392156863);
  128. }
  129. </style>
  130. {% endblock %}
  131. {% block body %}
  132. {% include 'section/navbar.html.twig' %}
  133. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/table.jpeg')}});        
  134.         background-size: cover;
  135.         background-position: center;
  136.         background-repeat: no-repeat;">
  137.     <div class="overlay-slider">
  138.         <div class="row_site">
  139.             <div class="container_site">
  140.                 <div class="cover_color"></div>
  141.                 <div class="header_banner_el">
  142.                     <div class="header_breadcrumbs">
  143.                         <div id="breadcrumbs">
  144.                         <ul class="breadcrumb">
  145.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  146.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  147.                             <li style="color: #fff!important;">Multimédia</li>
  148.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  149.                             <li style="color: #fff!important;">vidéos</li>
  150.                         </ul>
  151.                         </div>
  152.                     </div>
  153.                     <h1 class="header_title" style="color: #fff!important;">CIMEF-INTERNATIONAL EN VIDEO</h1>
  154.                 </div>
  155.             </div>
  156.         </div>
  157.     </div>
  158. </div>
  159. {% for message in app.flashes('success') %}
  160. <div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
  161.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  162.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  163.     </div>
  164.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  165.         <label style="font-family: arial;">{{ message }}</label>
  166.     </div>
  167. </div>    
  168. {% endfor %}
  169. {% for message in app.flashes('danger') %}
  170. <div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
  171.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  172.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  173.     </div>
  174.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  175.         <label style="font-family: arial;">{{ message }}</label>
  176.     </div>
  177. </div>   
  178. {% endfor %}
  179. <div class="container-event">
  180.     <div id="main-event" class="content-event">
  181.    
  182.         <div class="row" style="">
  183.             {% if videos != null %}
  184.                 {% for pag in videos %}
  185.                 <div class="col-lg-4 col-md-4 col-sm-12" style="padding: 10px;">
  186.                     <div class="type1 mb-2">
  187.                         <div class="desc">
  188.                             <div class="margin-top: -100px !important;">
  189.                                 <div class="video-wrapper no-click" style="">
  190.                                     {% if pag.lien != null  %}
  191.                                         <iframe 
  192.                                             style="border: 1px solid #ff6600 !important; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
  193.                                             0 6px 20px 0 rgba(0, 0, 0, 0.19);"
  194.                                             src="https://www.youtube.com/embed/{{ pag.lien }}?autoplay=1&mute=1&loop=1&playlist={{ pag.lien }}&controls=0&modestbranding=1&rel=0&showinfo=0&fs=0" 
  195.                                             title="CIMEF International : Un partenaire de confiance pour vos besoins en formation" 
  196.                                             frameborder="0" 
  197.                                             allow="autoplay; encrypted-media; picture-in-picture" 
  198.                                             referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
  199.                                             
  200.                                         </iframe>
  201.                                     {% endif %}
  202.                                 </div>
  203.                             </div>
  204.                         </div>
  205.                                         <div style="height: 55px;text-align: center !important; background-color: #ff6600; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; ">
  206.                                             <label class="second_font event_title" style="font-weight: bold; color: #ededed; font-size: 14px !important;">
  207.                                                 {% if pag.titre|striptags|length > 120 %}
  208.                                                     {{ pag.titre|striptags|slice(0, 120) ~ '...' }}
  209.                                                 {% else %}
  210.                                                     {{ pag.titre|striptags }}
  211.                                                 {% endif %}
  212.                                             </label>
  213.                                         </div>
  214.                     </div>
  215.                 </div>
  216.                 {% endfor %}
  217.             {% else %}
  218.                 <div style="width: 100% !important; text-align: center !importanat;">
  219.                     <h1 style="font-family: arial;">Pas de vidéo disponible pour l'instant </h1>
  220.                 </div>
  221.             {% endif %}
  222.            
  223.         </div>
  224.     </div>
  225. </div>
  226. {% include 'section/footer.html.twig' %}
  227. {% endblock %}