PranavBarthwal / cosmoXplore

CosmoXplore, where the celestial canvas unfolds its mysteries before your eyes. Immerse yourself in a cosmic odyssey, as we harness the power of NASA's API to bring you a symphony of space resources.
https://cosmoxplore.pranavbarthwal.tech
60 stars 126 forks source link

Bug Report: Video Rendering Issue in APOD Section of CosmoXplore Website #21

Closed harithaguna closed 5 months ago

harithaguna commented 5 months ago

Describe your issue

Upon loading the APOD (Astronomy Picture of the Day) section on the CosmoXplore website, the video fails to render properly, resulting in a broken or distorted display.

Steps to reproduce the bug

  1. Visit the CosmoXplore website.
  2. Navigate to the APOD section.
  3. Observe the video rendering issue upon page load.

What was the expected result?

The video in the APOD section should load correctly and display without any distortion or errors upon page load.

Put here any screenshots or videos (optional)

Screenshot 2024-05-10 232514

Would you like to work on this issue?

Yes

How will you fix this? (Only if you want to work on this issue)

I will investigate the cause of the video rendering issue, which may involve debugging the code and checking for compatibility with different browsers. Once identified, I'll make the necessary changes to ensure the video loads correctly upon page load.

PranavBarthwal commented 5 months ago

hi @harithaguna thanks for raising this issue. You can start working on this. Additional context : currently, the APOD section is hard-coded to show image fetched from the API. But whenever we get a video from API resoonse then we get this error.

harithaguna commented 5 months ago

Thanks for the context. I'll start fixing it.