]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use video links for files
authorChocobozzz <me@florianbigard.com>
Mon, 10 Oct 2022 12:44:51 +0000 (14:44 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 10 Oct 2022 12:46:04 +0000 (14:46 +0200)
client/src/app/+admin/overview/videos/video-list.component.html

index fb5e533f17837943f08247a0182d7dbe261e115f..a6cd2e257d25755ab16927641732eed819f16358 100644 (file)
 
             <ul>
               <li *ngFor="let file of video.files">
-                {{ file.resolution.label }}: {{ file.size | bytes: 1 }}
+                <a target="_blank" rel="noopener noreferrer" [href]="file.fileUrl">{{ file.resolution.label }}</a>: {{ file.size | bytes: 1 }}
 
                 <my-global-icon
                   *ngIf="canRemoveOneFile(video)"
 
             <ul>
               <li *ngFor="let file of video.streamingPlaylists[0].files">
-                {{ file.resolution.label }}: {{ file.size | bytes: 1 }}
+                <a target="_blank" rel="noopener noreferrer" [href]="file.fileUrl">{{ file.resolution.label }}</a>: {{ file.size | bytes: 1 }}
 
                 <my-global-icon
                   *ngIf="canRemoveOneFile(video)"