ActivityPub-federated video streaming platform using P2P directly in your web browser
fix SEO tags and attributes
Rigel Kentf845c68305f6
diff --git a/client/src/app/shared/video/video-thumbnail.component.html b/client/src/app/shared/video/video-thumbnail.component.htmlindex c1d45ea182..6935ed9485 100644--- a/client/src/app/shared/video/video-thumbnail.component.html+++ b/client/src/app/shared/video/video-thumbnail.component.html@@ -2,7 +2,7 @@[routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"class="video-thumbnail">-<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />+<img [attr.alt]="video.name" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" /><div class="video-thumbnail-overlay">{{ video.durationLabel }}diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.htmlindex 62b9cf62b4..630345a358 100644--- a/client/src/app/videos/+video-watch/video-watch.component.html+++ b/client/src/app/videos/+video-watch/video-watch.component.html@@ -32,7 +32,7 @@<div class="video-info-first-row"><div><div class="d-block d-sm-none"> <!-- only shown on small devices, has its conterpart for larger viewports below -->- <div class="video-info-name">{{ video.name }}</div>+ <h1 class="video-info-name">{{ video.name }}</h1><div i18n class="video-info-date-views">Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views@@ -41,7 +41,7 @@<div class="d-flex justify-content-between align-items-sm-end"><div class="d-none d-sm-block">- <div class="video-info-name">{{ video.name }}</div>+ <h1 class="video-info-name">{{ video.name }}</h1><div i18n class="video-info-date-views">Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views