aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-20 01:08:46 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-20 16:48:21 +0200
commitf845c68305f61686b5d3336fa9251afeae0c083a (patch)
tree659af109eb69438de5fe21357968e7c7edaf9696
parent5c142a4bab955d2dbe831efd537c2fe52246db13 (diff)
downloadPeerTube-f845c68305f61686b5d3336fa9251afeae0c083a.tar.gz
PeerTube-f845c68305f61686b5d3336fa9251afeae0c083a.tar.zst
PeerTube-f845c68305f61686b5d3336fa9251afeae0c083a.zip
fix SEO tags and attributes
-rw-r--r--client/src/app/shared/video/video-thumbnail.component.html2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/video/video-thumbnail.component.html b/client/src/app/shared/video/video-thumbnail.component.html
index c1d45ea18..6935ed948 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 @@
2 [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name" 2 [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
3 class="video-thumbnail" 3 class="video-thumbnail"
4> 4>
5<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" /> 5<img [attr.alt]="video.name" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
6 6
7<div class="video-thumbnail-overlay"> 7<div class="video-thumbnail-overlay">
8 {{ video.durationLabel }} 8 {{ 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.html
index 62b9cf62b..630345a35 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 @@
32 <div class="video-info-first-row"> 32 <div class="video-info-first-row">
33 <div> 33 <div>
34 <div class="d-block d-sm-none"> <!-- only shown on small devices, has its conterpart for larger viewports below --> 34 <div class="d-block d-sm-none"> <!-- only shown on small devices, has its conterpart for larger viewports below -->
35 <div class="video-info-name">{{ video.name }}</div> 35 <h1 class="video-info-name">{{ video.name }}</h1>
36 36
37 <div i18n class="video-info-date-views"> 37 <div i18n class="video-info-date-views">
38 Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views 38 Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
@@ -41,7 +41,7 @@
41 41
42 <div class="d-flex justify-content-between align-items-sm-end"> 42 <div class="d-flex justify-content-between align-items-sm-end">
43 <div class="d-none d-sm-block"> 43 <div class="d-none d-sm-block">
44 <div class="video-info-name">{{ video.name }}</div> 44 <h1 class="video-info-name">{{ video.name }}</h1>
45 45
46 <div i18n class="video-info-date-views"> 46 <div i18n class="video-info-date-views">
47 Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views 47 Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views