mdofi page vidéo

This commit is contained in:
mjeannin2025 2025-09-26 16:41:51 +02:00
parent b574621caf
commit 5baad06dc8
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<p></p>
<video width="320" height="240" controls>
<source src="{{asset()!.items[3].href}}" type="video/mp4">
Your browser does not support the video tag.
</video>

View File

@ -21,11 +21,15 @@ export class Video {
this.nasaApi.getAssetDetail(nasaId).subscribe({
next: (data)=>{
this.asset.set(data.collection);
console.log(this.asset());
console.log(this.asset());
},
error: error =>{
console.log(error);
}
})
}
}