mdofi page vidéo
This commit is contained in:
parent
b574621caf
commit
5baad06dc8
|
|
@ -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>
|
||||
|
|
@ -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);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue