@if (video(); as v) {
@if (embedUrl(); as src) { } @else if (videoSource()) { } @else {
Chargement du lecteur…
}
@if (loading()) { } @else { @if (availableQualities().length > 0) {
}

{{ v.title || 'Vidéo sans titre' }}

{{ formatViewsFr(v.views) }} {{ formatDateAbsFr(v.uploadedDate) }} @if (v.duration > 0) { {{ v.duration | duration }} }

@if (channelAvatarUrl(); as avatar) { } @else {
{{ channelInitial() }}
}
{{ v.uploaderName || channelMeta()?.title || 'Chaîne inconnue' }}
@if (channelSubsLabel(); as subs) {
{{ subs }} abonnés
}
@if (channelAvatarUrl(); as avatar) { } @else {
{{ channelInitial() }}
}
{{ v.uploaderName || channelMeta()?.title || 'Chaîne inconnue' }}
@if (channelSubsLabel(); as subs) {
{{ subs }} abonnés
}
@if (canSubscribe() && isLoggedIn()) { } @else if (canSubscribe() && !isLoggedIn()) { S'abonner }
@if (subscribeError(); as err) { } @if (subServiceError(); as serr) { }

Description

{{ hasDescription() ? descriptionText() : 'Aucune description disponible.' }}

@if (showMoreAvailable()) { }
@if (isLoggedIn() && downloadOpen()) {

Téléchargement

@if (formatsLoading()) {
Chargement des formats…
} @else if (downloadFormats().length > 0) { } @else if (downloadError()) {
{{ downloadError() }}
} @else {
Aucun format disponible.
}
@if (!jobId()) { } @else { }
@if (jobId()) {
Statut : {{ jobState() || 'en attente' }} Progression : {{ jobProgress() }} %
@if (jobFileReady()) {
@if (jobFileSize(); as size) { {{ formatBytes(size) }} }
} } @if (downloadError() && !formatsLoading()) { }
}

{{ v.comments.length }} commentaire{{ v.comments.length > 1 ? 's' : '' }}

@if (v.comments.length > 0) {
}
@if (!geminiReady && geminiReason && v.comments.length > 0) {
{{ geminiReason }}
} @if (isSummarizing() || summary() || summaryError()) {
@if (isSummarizing() && !summary() && !summaryError()) {
} @else if (summary(); as summaryText) {

Résumé IA

{{ summaryText }}

} @else if (summaryError(); as errorText) { }
} @if (v.comments.length > 0) {
@for (comment of v.comments; track comment.author + comment.commentedTime) {
{{ comment.author }} {{ comment.commentedTime }}

{{ comment.commentText }}

}
} @else {

Aucun commentaire pour cette vidéo.

}
}
} @else if (loading()) { } @else {

Vidéo introuvable

La vidéo demandée n'a pas pu être chargée.

Retour à l'accueil
}