#163 : merge de dev pour mis a jour de la branche.

This commit is contained in:
Loic Masi
2026-04-01 13:24:15 +02:00
21 changed files with 739 additions and 118 deletions

View File

@@ -61,7 +61,7 @@
</ul>
<!-- Barre de recherche -->
<form class="d-flex" asp-controller="Recherche" asp-action="Index" method="get">
<form class="d-flex" asp-area="" asp-controller="Recherche" asp-action="Index" method="get">
<div class="input-group">
<div class="form-outline">
<input class="form-control me-2"

View File

@@ -93,14 +93,28 @@
</div>
<!-- LECTEUR -->
@if (!string.IsNullOrEmpty(Model.Details.UrlEcoute))
@if (!string.IsNullOrEmpty(Model.Details.UrlEmbedEcoute))
{
<div class="mt-4">
<iframe width="100%" height="315"
src="@Model.Details.UrlEcoute"
title="Lecteur"
allowfullscreen>
<h4 class="mb-3">Ecouter le titre</h4>
<iframe src="@Model.Details.UrlEmbedEcoute"
width="100%"
height="152"
title="Lecteur Spotify"
frameborder="0"
allowfullscreen
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
loading="lazy">
</iframe>
@if (!string.IsNullOrEmpty(Model.Details.UrlEcoute))
{
<p class="mt-2 mb-0">
<a href="@Model.Details.UrlEcoute" target="_blank" rel="noopener noreferrer">
Ouvrir dans Spotify
</a>
</p>
}
</div>
}
@@ -195,4 +209,4 @@
</div>
</div>
</div>